#2F2437#2F2437
#2F2437 is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.2% C 0.037 H 310.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2437 |
|---|---|
| RGB | rgb(47, 36, 55) |
| HSL | hsl(275, 21%, 18%) |
| HSV | hsv(275, 35%, 22%) |
| CMYK | cmyk(14.5%, 34.5%, 0%, 78.4%) |
| CIE-LAB | lab(16.22, 9.69, -10.36) |
| CIE-LCH | lch(16.22, 14.19, 313.09°) |
| OKLab | oklab(28.15% 0.0242 -0.0284) |
| OKLCH | oklch(28.15% 0.037 310.5) |
| XYZ | xyz(2.4926, 2.1420, 3.8958) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.70
Dark
#1B2431
ΔE00 11.59
Eggplant
#380835
ΔE00 11.75
Aubergine
#3D0734
ΔE00 12.31
Navy (survey)
#01153E
ΔE00 12.48
Dark Purple
#35063E
ΔE00 12.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2437 #2C3724
analogous
#252437 #2F2437 #372435
triadic
#2F2437 #372F24 #24372F
tetradic
#2F2437 #372524 #2C3724 #243537
square
#2F2437 #372524 #2C3724 #243537
split-complementary
#2F2437 #353724 #243725
monochromatic
#100C12 #100C12 #2F2437 #4F3C5C #6E5481
Accessibility & contrast
On white
14.70
#2F2437 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2F2437 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2437
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2437 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2437 | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#232836
Tritanopia (blue-blind)
#2E262B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2f2437; /* rgb */ color: rgb(47, 36, 55); /* oklch */ color: oklch(28.2% 0.037 310.5);
Tailwind
colors: {
custom: {
50: '#675e6d',
500: '#2f2437',
950: '#000000',
},
}SCSS
$custom: #2f2437; $custom-light: #675e6d; $custom-dark: #000000;
JSON
{
"hex": "#2f2437",
"rgb": {
"r": 47,
"g": 36,
"b": 55
},
"hsl": {
"h": 274.737,
"s": 20.879,
"l": 17.843
},
"oklch": {
"l": 0.28152,
"c": 0.03727,
"h": 310.5
},
"luminance": 0.02142
}Semantic roles & 50–950 ramp
primary
#2F2437
secondary
#59694E
accent
#BD6A8D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A