#2E1967#2E1967
#2E1967 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.6% C 0.128 H 288.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1967 |
|---|---|
| RGB | rgb(46, 25, 103) |
| HSL | hsl(256, 61%, 25%) |
| HSV | hsv(256, 76%, 40%) |
| CMYK | cmyk(55.3%, 75.7%, 0%, 59.6%) |
| CIE-LAB | lab(16.77, 31.51, -42.12) |
| CIE-LCH | lch(16.77, 52.61, 306.80°) |
| OKLab | oklab(29.64% 0.0402 -0.121) |
| OKLCH | oklch(29.64% 0.128 288.4) |
| XYZ | xyz(3.9218, 2.2552, 13.0580) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.71
Dark Indigo
#1F0954
ΔE00 4.47
Darkblue (survey)
#030764
ΔE00 5.74
Dark Royal Blue
#02066F
ΔE00 6.04
Indigo (survey)
#380282
ΔE00 6.14
Deep Blue
#040273
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1967 #526719
analogous
#192B67 #2E1967 #551967
triadic
#2E1967 #672E19 #19672E
tetradic
#2E1967 #67192B #526719 #196755
square
#2E1967 #67192B #526719 #196755
split-complementary
#2E1967 #675519 #2B6719
monochromatic
#0B0619 #180D36 #2E1967 #442598 #5A31C9
Accessibility & contrast
On white
14.47
#2E1967 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2E1967 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1967
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1967 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1967 | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#182E3E
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e1967; /* rgb */ color: rgb(46, 25, 103); /* oklch */ color: oklch(29.6% 0.128 288.4);
Tailwind
colors: {
custom: {
50: '#6e5893',
500: '#2e1967',
950: '#000000',
},
}SCSS
$custom: #2e1967; $custom-light: #6e5893; $custom-dark: #000000;
JSON
{
"hex": "#2e1967",
"rgb": {
"r": 46,
"g": 25,
"b": 103
},
"hsl": {
"h": 256.154,
"s": 60.938,
"l": 25.098
},
"oklch": {
"l": 0.29642,
"c": 0.12754,
"h": 288.4
},
"luminance": 0.02255
}Semantic roles & 50–950 ramp
primary
#2E1967
secondary
#849D3F
accent
#E444B9
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E