#2E1E7A#2E1E7A
#2E1E7A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.146 H 282.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1E7A |
|---|---|
| RGB | rgb(46, 30, 122) |
| HSL | hsl(250, 61%, 30%) |
| HSV | hsv(250, 75%, 48%) |
| CMYK | cmyk(62.3%, 75.4%, 0%, 52.2%) |
| CIE-LAB | lab(19.70, 34.76, -49.63) |
| CIE-LCH | lch(19.70, 60.59, 305.00°) |
| OKLab | oklab(32.29% 0.0314 -0.143) |
| OKLCH | oklch(32.29% 0.146 282.4) |
| XYZ | xyz(5.1027, 2.9142, 18.7022) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.06
Royal
#0C1793
ΔE00 4.94
Indigo (survey)
#380282
ΔE00 5.11
Dark Royal Blue
#02066F
ΔE00 6.03
Deep Blue
#040273
ΔE00 6.32
Navy
#000080
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1E7A #6A7A1E
analogous
#1E3C7A #2E1E7A #5C1E7A
triadic
#2E1E7A #7A2E1E #1E7A2E
tetradic
#2E1E7A #7A1E3C #6A7A1E #1E7A5C
square
#2E1E7A #7A1E3C #6A7A1E #1E7A5C
split-complementary
#2E1E7A #7A5C1E #3C7A1E
monochromatic
#090619 #1B1249 #2E1E7A #412AAB #5B42D0
Accessibility & contrast
On white
13.27
#2E1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2E1E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1E7A
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1E7A | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2e1e7a; /* rgb */ color: rgb(46, 30, 122); /* oklch */ color: oklch(32.3% 0.146 282.4);
Tailwind
colors: {
custom: {
50: '#715ca1',
500: '#2e1e7a',
950: '#000000',
},
}SCSS
$custom: #2e1e7a; $custom-light: #715ca1; $custom-dark: #000000;
JSON
{
"hex": "#2e1e7a",
"rgb": {
"r": 46,
"g": 30,
"b": 122
},
"hsl": {
"h": 250.435,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.32293,
"c": 0.14645,
"h": 282.4
},
"luminance": 0.02915
}Semantic roles & 50–950 ramp
primary
#2E1E7A
secondary
#9CAE46
accent
#E444C8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F