#2E1685#2E1685
#2E1685 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.168 H 281.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1685 |
|---|---|
| RGB | rgb(46, 22, 133) |
| HSL | hsl(253, 72%, 30%) |
| HSV | hsv(253, 83%, 52%) |
| CMYK | cmyk(65.4%, 83.5%, 0%, 47.8%) |
| CIE-LAB | lab(19.42, 42.40, -57.06) |
| CIE-LCH | lch(19.42, 71.09, 306.62°) |
| OKLab | oklab(32.46% 0.0335 -0.1646) |
| OKLCH | oklch(32.46% 0.168 281.5) |
| XYZ | xyz(5.6459, 2.8477, 22.4379) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.15
Royal
#0C1793
ΔE00 3.37
Midnight Blue
#191970
ΔE00 4.42
Darkblue
#00008B
ΔE00 4.48
Navy
#000080
ΔE00 4.80
Cobalt Blue
#030AA7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1685 #6D8516
analogous
#163585 #2E1685 #651685
triadic
#2E1685 #852E16 #16852E
tetradic
#2E1685 #851635 #6D8516 #168565
square
#2E1685 #851635 #6D8516 #168565
split-complementary
#2E1685 #856516 #358516
monochromatic
#0A051C #1C0D50 #2E1685 #401FBA #5B37DE
Accessibility & contrast
On white
13.38
#2E1685 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2E1685 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1685
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1685 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1685 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2e1685; /* rgb */ color: rgb(46, 22, 133); /* oklch */ color: oklch(32.5% 0.168 281.5);
Tailwind
colors: {
custom: {
50: '#7458aa',
500: '#2e1685',
950: '#000000',
},
}SCSS
$custom: #2e1685; $custom-light: #7458aa; $custom-dark: #000000;
JSON
{
"hex": "#2e1685",
"rgb": {
"r": 46,
"g": 22,
"b": 133
},
"hsl": {
"h": 252.973,
"s": 71.613,
"l": 30.392
},
"oklch": {
"l": 0.32456,
"c": 0.16802,
"h": 281.5
},
"luminance": 0.02848
}Semantic roles & 50–950 ramp
primary
#2E1685
secondary
#9FB93E
accent
#EE39C7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F