#2E136F#2E136F
#2E136F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.144 H 287.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E136F |
|---|---|
| RGB | rgb(46, 19, 111) |
| HSL | hsl(258, 71%, 25%) |
| HSV | hsv(258, 83%, 44%) |
| CMYK | cmyk(58.6%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(16.47, 37.18, -47.84) |
| CIE-LCH | lch(16.47, 60.59, 307.86°) |
| OKLab | oklab(29.68% 0.0429 -0.1377) |
| OKLCH | oklch(29.68% 0.144 287.3) |
| XYZ | xyz(4.2280, 2.1941, 15.2366) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.57
Indigo (survey)
#380282
ΔE00 4.05
Dark Royal Blue
#02066F
ΔE00 4.70
Deep Blue
#040273
ΔE00 4.92
Dark Indigo
#1F0954
ΔE00 4.92
Darkblue (survey)
#030764
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E136F #546F13
analogous
#13266F #2E136F #5C136F
triadic
#2E136F #6F2E13 #136F2E
tetradic
#2E136F #6F1326 #546F13 #136F5C
square
#2E136F #6F1326 #546F13 #136F5C
split-complementary
#2E136F #6F5C13 #266F13
monochromatic
#0B041A #180A3B #2E136F #441CA3 #5925D8
Accessibility & contrast
On white
14.60
#2E136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2E136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E136F
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E136F | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#102E41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e136f; /* rgb */ color: rgb(46, 19, 111); /* oklch */ color: oklch(29.7% 0.144 287.3);
Tailwind
colors: {
custom: {
50: '#705599',
500: '#2e136f',
950: '#000000',
},
}SCSS
$custom: #2e136f; $custom-light: #705599; $custom-dark: #000000;
JSON
{
"hex": "#2e136f",
"rgb": {
"r": 46,
"g": 19,
"b": 111
},
"hsl": {
"h": 257.609,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.29682,
"c": 0.14426,
"h": 287.3
},
"luminance": 0.02194
}Semantic roles & 50–950 ramp
primary
#2E136F
secondary
#86A638
accent
#EE3AB9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E