#2E1669#2E1669
#2E1669 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.134 H 288.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1669 |
|---|---|
| RGB | rgb(46, 22, 105) |
| HSL | hsl(257, 65%, 25%) |
| HSV | hsv(257, 79%, 41%) |
| CMYK | cmyk(56.2%, 79%, 0%, 58.8%) |
| CIE-LAB | lab(16.38, 33.82, -44.09) |
| CIE-LCH | lch(16.38, 55.56, 307.49°) |
| OKLab | oklab(29.42% 0.0424 -0.1268) |
| OKLCH | oklch(29.42% 0.134 288.5) |
| XYZ | xyz(3.9627, 2.1744, 13.5728) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.64
Dark Indigo
#1F0954
ΔE00 4.31
Darkblue (survey)
#030764
ΔE00 5.27
Indigo (survey)
#380282
ΔE00 5.33
Dark Royal Blue
#02066F
ΔE00 5.42
Deep Blue
#040273
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1669 #516916
analogous
#162869 #2E1669 #571669
triadic
#2E1669 #692E16 #16692E
tetradic
#2E1669 #691628 #516916 #166957
square
#2E1669 #691628 #516916 #166957
split-complementary
#2E1669 #695716 #286916
monochromatic
#0B0519 #180B36 #2E1669 #44219C #5A2BCE
Accessibility & contrast
On white
14.63
#2E1669 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2E1669 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1669
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1669 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1669 | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#172D3E
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e1669; /* rgb */ color: rgb(46, 22, 105); /* oklch */ color: oklch(29.4% 0.134 288.5);
Tailwind
colors: {
custom: {
50: '#6e5695',
500: '#2e1669',
950: '#000000',
},
}SCSS
$custom: #2e1669; $custom-light: #6e5695; $custom-dark: #000000;
JSON
{
"hex": "#2e1669",
"rgb": {
"r": 46,
"g": 22,
"b": 105
},
"hsl": {
"h": 257.349,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.29423,
"c": 0.13368,
"h": 288.5
},
"luminance": 0.02175
}Semantic roles & 50–950 ramp
primary
#2E1669
secondary
#839F3B
accent
#E83FB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E