#2E253F#2E253F
#2E253F is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.7% C 0.048 H 299.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2E253F |
|---|---|
| RGB | rgb(46, 37, 63) |
| HSL | hsl(261, 26%, 20%) |
| HSV | hsv(261, 41%, 25%) |
| CMYK | cmyk(27%, 41.3%, 0%, 75.3%) |
| CIE-LAB | lab(16.81, 10.86, -15.04) |
| CIE-LCH | lch(16.81, 18.55, 305.84°) |
| OKLab | oklab(28.71% 0.0234 -0.0417) |
| OKLCH | oklch(28.71% 0.048 299.3) |
| XYZ | xyz(2.6853, 2.2628, 4.9970) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.80
Navy (survey)
#01153E
ΔE00 10.38
Midnight
#03012D
ΔE00 11.21
Eggplant
#380835
ΔE00 11.34
Dark Purple
#35063E
ΔE00 11.41
Dark Navy Blue
#00022E
ΔE00 11.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E253F #363F25
analogous
#25293F #2E253F #3B253F
triadic
#2E253F #3F2E25 #253F2E
tetradic
#2E253F #3F2529 #363F25 #253F3B
square
#2E253F #3F2529 #363F25 #253F3B
split-complementary
#2E253F #3F3B25 #293F25
monochromatic
#0E0B13 #120E18 #2E253F #4A3C66 #66528C
Accessibility & contrast
On white
14.46
#2E253F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2E253F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E253F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E253F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E253F | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2940
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#2B292F
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e253f; /* rgb */ color: rgb(46, 37, 63); /* oklch */ color: oklch(28.7% 0.048 299.3);
Tailwind
colors: {
custom: {
50: '#675f74',
500: '#2e253f',
950: '#000000',
},
}SCSS
$custom: #2e253f; $custom-light: #675f74; $custom-dark: #000000;
JSON
{
"hex": "#2e253f",
"rgb": {
"r": 46,
"g": 37,
"b": 63
},
"hsl": {
"h": 260.769,
"s": 26,
"l": 19.608
},
"oklch": {
"l": 0.28713,
"c": 0.04786,
"h": 299.3
},
"luminance": 0.02263
}Semantic roles & 50–950 ramp
primary
#2E253F
secondary
#65714E
accent
#C265A2
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B