#2D293C#2D293C
#2D293C is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.4% C 0.034 H 293.8°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2D293C |
|---|---|
| RGB | rgb(45, 41, 60) |
| HSL | hsl(253, 19%, 20%) |
| HSV | hsv(253, 32%, 24%) |
| CMYK | cmyk(25%, 31.7%, 0%, 76.5%) |
| CIE-LAB | lab(17.78, 6.77, -11.46) |
| CIE-LCH | lch(17.78, 13.31, 300.57°) |
| OKLab | oklab(29.38% 0.0139 -0.0315) |
| OKLCH | oklch(29.38% 0.034 293.8) |
| XYZ | xyz(2.6905, 2.4700, 4.6091) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 7.97
Dark
#1B2431
ΔE00 8.67
Navy (survey)
#01153E
ΔE00 11.67
Dark Grey
#363737
ΔE00 12.26
Onyx
#353839
ΔE00 12.52
Midnight
#03012D
ΔE00 12.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D293C #383C29
analogous
#292F3C #2D293C #37293C
triadic
#2D293C #3C2D29 #293C2D
tetradic
#2D293C #3C292F #383C29 #293C37
square
#2D293C #3C292F #383C29 #293C37
split-complementary
#2D293C #3C3729 #2F3C29
monochromatic
#0E0C12 #121018 #2D293C #484260 #645B85
Accessibility & contrast
On white
14.06
#2D293C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#2D293C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D293C
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D293C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D293C | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252C3D
Deuteranopia (green-blind)
#252B3B
Tritanopia (blue-blind)
#2A2C30
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2d293c; /* rgb */ color: rgb(45, 41, 60); /* oklch */ color: oklch(29.4% 0.034 293.8);
Tailwind
colors: {
custom: {
50: '#666271',
500: '#2d293c',
950: '#000000',
},
}SCSS
$custom: #2d293c; $custom-light: #666271; $custom-dark: #000000;
JSON
{
"hex": "#2d293c",
"rgb": {
"r": 45,
"g": 41,
"b": 60
},
"hsl": {
"h": 252.632,
"s": 18.812,
"l": 19.804
},
"oklch": {
"l": 0.29382,
"c": 0.03448,
"h": 293.8
},
"luminance": 0.0247
}Semantic roles & 50–950 ramp
primary
#2D293C
secondary
#686D54
accent
#BB6CAB
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A