#2E1069#2E1069
#2E1069 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.140 H 289.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1069 |
|---|---|
| RGB | rgb(46, 16, 105) |
| HSL | hsl(260, 74%, 24%) |
| HSV | hsv(260, 85%, 41%) |
| CMYK | cmyk(56.2%, 84.8%, 0%, 58.8%) |
| CIE-LAB | lab(15.34, 36.81, -45.80) |
| CIE-LCH | lch(15.34, 58.76, 308.79°) |
| OKLab | oklab(28.7% 0.0472 -0.1317) |
| OKLCH | oklch(28.7% 0.14 289.7) |
| XYZ | xyz(3.8611, 1.9712, 13.5389) |
| Luminance | 0.0197 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.99
Midnight Blue
#191970
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 4.58
Darkblue (survey)
#030764
ΔE00 4.82
Dark Royal Blue
#02066F
ΔE00 4.87
Deep Blue
#040273
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1069 #4B6910
analogous
#101E69 #2E1069 #5A1069
triadic
#2E1069 #692E10 #10692E
tetradic
#2E1069 #69101E #4B6910 #10695A
square
#2E1069 #69101E #4B6910 #10695A
split-complementary
#2E1069 #695A10 #1E6910
monochromatic
#0C041B #170834 #2E1069 #45189E #5D20D3
Accessibility & contrast
On white
15.06
#2E1069 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2E1069 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1069
15.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1069 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1069 | 1.00 | 15.06 | 1.39 | 15.06 |
| #FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#172A3D
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2e1069; /* rgb */ color: rgb(46, 16, 105); /* oklch */ color: oklch(28.7% 0.140 289.7);
Tailwind
colors: {
custom: {
50: '#6f5395',
500: '#2e1069',
950: '#000000',
},
}SCSS
$custom: #2e1069; $custom-light: #6f5395; $custom-dark: #000000;
JSON
{
"hex": "#2e1069",
"rgb": {
"r": 46,
"g": 16,
"b": 105
},
"hsl": {
"h": 260.225,
"s": 73.554,
"l": 23.725
},
"oklch": {
"l": 0.28696,
"c": 0.13991,
"h": 289.7
},
"luminance": 0.01971
}Semantic roles & 50–950 ramp
primary
#2E1069
secondary
#7CA134
accent
#F038B2
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030D
muted
#7B787E