#2E1883#2E1883
#2E1883 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.164 H 281.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1883 |
|---|---|
| RGB | rgb(46, 24, 131) |
| HSL | hsl(252, 69%, 30%) |
| HSV | hsv(252, 82%, 51%) |
| CMYK | cmyk(64.9%, 81.7%, 0%, 48.6%) |
| CIE-LAB | lab(19.53, 40.84, -55.63) |
| CIE-LCH | lch(19.53, 69.01, 306.28°) |
| OKLab | oklab(32.46% 0.0331 -0.1605) |
| OKLCH | oklch(32.46% 0.164 281.6) |
| XYZ | xyz(5.5488, 2.8724, 21.7304) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.49
Royal
#0C1793
ΔE00 3.56
Midnight Blue
#191970
ΔE00 4.07
Darkblue
#00008B
ΔE00 4.84
Navy
#000080
ΔE00 5.07
Deep Blue
#040273
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1883 #6D8318
analogous
#183883 #2E1883 #631883
triadic
#2E1883 #832E18 #18832E
tetradic
#2E1883 #831838 #6D8318 #188363
square
#2E1883 #831838 #6D8318 #188363
split-complementary
#2E1883 #836318 #388318
monochromatic
#0A051C #1C0F4F #2E1883 #4021B7 #5B3ADB
Accessibility & contrast
On white
13.34
#2E1883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2E1883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1883
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1883 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2e1883; /* rgb */ color: rgb(46, 24, 131); /* oklch */ color: oklch(32.5% 0.164 281.6);
Tailwind
colors: {
custom: {
50: '#7359a8',
500: '#2e1883',
950: '#000000',
},
}SCSS
$custom: #2e1883; $custom-light: #7359a8; $custom-dark: #000000;
JSON
{
"hex": "#2e1883",
"rgb": {
"r": 46,
"g": 24,
"b": 131
},
"hsl": {
"h": 252.336,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.3246,
"c": 0.16387,
"h": 281.6
},
"luminance": 0.02873
}Semantic roles & 50–950 ramp
primary
#2E1883
secondary
#9FB740
accent
#EC3CC8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F