Gradient Page

#381A51

#381A51 is the HEX color code for
Grape
#381A51

Grape

Contrast
Dark
Luminance
16%
Color Conversions
Formats for Grape (#381A51) in various color spaces.
#381A51
56, 26, 81
273°, 51%, 21%
31%, 68%, 0%, 68%
0.291, 0.098, 306.3
--color-grape: #381A51;

Shades & Tints

#f3ecf9
#dbc5ec
#c39fe0
#aa78d3
#9252c7
#7938ad
#5e2c87
#431f60
#28133a
#0d0613
DarkestBaseLightest

Color Harmonies

Complementary

#381A51
#33511a

Analogous

#1d1a51
#381A51
#511a4e

Triadic

#381A51
#51381a
#1a5138

Split Complementary

#381A51
#4e511a
#1a511d

UI Component Examples

See how #381A51 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Grape Base */
  --color-primary: #381A51;
  --color-primary-rgb: 56 26 81;
  --color-primary-hsl: 273 51% 21%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f3ecf9;
  --color-primary-100: #dbc5ec;
  --color-primary-200: #c39fe0;
  --color-primary-300: #aa78d3;
  --color-primary-400: #9252c7;
  --color-primary-500: #7938ad;
  --color-primary-600: #5e2c87;
  --color-primary-700: #431f60;
  --color-primary-800: #28133a;
  --color-primary-900: #0d0613;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#381A51 Hex Color | Grape sl | UI Color Scheme Generator