#2E1066#2E1066
#2E1066 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.136 H 290.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1066 |
|---|---|
| RGB | rgb(46, 16, 102) |
| HSL | hsl(261, 73%, 23%) |
| HSV | hsv(261, 84%, 40%) |
| CMYK | cmyk(54.9%, 84.3%, 0%, 60%) |
| CIE-LAB | lab(15.01, 35.94, -44.36) |
| CIE-LCH | lch(15.01, 57.09, 309.01°) |
| OKLab | oklab(28.37% 0.0483 -0.1275) |
| OKLCH | oklch(28.37% 0.136 290.7) |
| XYZ | xyz(3.7096, 1.9106, 12.7411) |
| Luminance | 0.0191 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.60
Midnight Blue
#191970
ΔE00 4.48
Darkblue (survey)
#030764
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 5.06
Dark Royal Blue
#02066F
ΔE00 5.15
Deep Blue
#040273
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1066 #486610
analogous
#101D66 #2E1066 #591066
triadic
#2E1066 #662E10 #10662E
tetradic
#2E1066 #66101D #486610 #106659
square
#2E1066 #66101D #486610 #106659
split-complementary
#2E1066 #665910 #1D6610
monochromatic
#0C041A #160831 #2E1066 #46189B #5E21D0
Accessibility & contrast
On white
15.19
#2E1066 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#2E1066 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1066
15.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1066 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1066 | 1.00 | 15.19 | 1.38 | 15.19 |
| #FFFFFF | 15.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#1A293B
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2e1066; /* rgb */ color: rgb(46, 16, 102); /* oklch */ color: oklch(28.4% 0.136 290.7);
Tailwind
colors: {
custom: {
50: '#6e5393',
500: '#2e1066',
950: '#000000',
},
}SCSS
$custom: #2e1066; $custom-light: #6e5393; $custom-dark: #000000;
JSON
{
"hex": "#2e1066",
"rgb": {
"r": 46,
"g": 16,
"b": 102
},
"hsl": {
"h": 260.93,
"s": 72.881,
"l": 23.137
},
"oklch": {
"l": 0.28374,
"c": 0.13633,
"h": 290.7
},
"luminance": 0.01911
}Semantic roles & 50–950 ramp
primary
#2E1066
secondary
#799E33
accent
#F038B0
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08020D
muted
#7B787E