#2D243F#2D243F
#2D243F is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.050 H 298.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2D243F |
|---|---|
| RGB | rgb(45, 36, 63) |
| HSL | hsl(260, 27%, 19%) |
| HSV | hsv(260, 43%, 25%) |
| CMYK | cmyk(28.6%, 42.9%, 0%, 75.3%) |
| CIE-LAB | lab(16.40, 11.21, -15.69) |
| CIE-LCH | lch(16.40, 19.28, 305.54°) |
| OKLab | oklab(28.37% 0.0237 -0.0436) |
| OKLCH | oklch(28.37% 0.05 298.5) |
| XYZ | xyz(2.6101, 2.1785, 4.9846) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.71
Navy (survey)
#01153E
ΔE00 9.99
Midnight
#03012D
ΔE00 10.79
Dark Purple
#35063E
ΔE00 11.09
Eggplant
#380835
ΔE00 11.11
Dark Navy Blue
#00022E
ΔE00 11.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D243F #363F24
analogous
#24293F #2D243F #3B243F
triadic
#2D243F #3F2D24 #243F2D
tetradic
#2D243F #3F2429 #363F24 #243F3B
square
#2D243F #3F2429 #363F24 #243F3B
split-complementary
#2D243F #3F3B24 #293F24
monochromatic
#0E0B13 #110E18 #2D243F #493A66 #65518D
Accessibility & contrast
On white
14.63
#2D243F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2D243F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D243F
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D243F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D243F | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#1F283E
Tritanopia (blue-blind)
#2A292E
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2d243f; /* rgb */ color: rgb(45, 36, 63); /* oklch */ color: oklch(28.4% 0.050 298.5);
Tailwind
colors: {
custom: {
50: '#665e74',
500: '#2d243f',
950: '#000000',
},
}SCSS
$custom: #2d243f; $custom-light: #665e74; $custom-dark: #000000;
JSON
{
"hex": "#2d243f",
"rgb": {
"r": 45,
"g": 36,
"b": 63
},
"hsl": {
"h": 260,
"s": 27.273,
"l": 19.412
},
"oklch": {
"l": 0.28372,
"c": 0.04967,
"h": 298.5
},
"luminance": 0.02179
}Semantic roles & 50–950 ramp
primary
#2D243F
secondary
#65724D
accent
#C464A4
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B