#2F243F#2F243F
#2F243F is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.6% C 0.050 H 302.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F243F |
|---|---|
| RGB | rgb(47, 36, 63) |
| HSL | hsl(264, 27%, 19%) |
| HSV | hsv(264, 43%, 25%) |
| CMYK | cmyk(25.4%, 42.9%, 0%, 75.3%) |
| CIE-LAB | lab(16.63, 11.93, -15.31) |
| CIE-LCH | lch(16.63, 19.42, 307.93°) |
| OKLab | oklab(28.6% 0.0267 -0.0425) |
| OKLCH | oklch(28.6% 0.05 302.1) |
| XYZ | xyz(2.7002, 2.2250, 4.9889) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.45
Navy (survey)
#01153E
ΔE00 10.54
Eggplant
#380835
ΔE00 10.55
Dark Purple
#35063E
ΔE00 10.68
Very Dark Purple
#2A0134
ΔE00 11.11
Midnight
#03012D
ΔE00 11.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F243F #343F24
analogous
#24273F #2F243F #3D243F
triadic
#2F243F #3F2F24 #243F2F
tetradic
#2F243F #3F2427 #343F24 #243F3D
square
#2F243F #3F2427 #343F24 #243F3D
split-complementary
#2F243F #3F3D24 #273F24
monochromatic
#0F0B13 #120E18 #2F243F #4C3A66 #69518D
Accessibility & contrast
On white
14.53
#2F243F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2F243F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F243F
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F243F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F243F | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#2C282E
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2f243f; /* rgb */ color: rgb(47, 36, 63); /* oklch */ color: oklch(28.6% 0.050 302.1);
Tailwind
colors: {
custom: {
50: '#685e74',
500: '#2f243f',
950: '#000000',
},
}SCSS
$custom: #2f243f; $custom-light: #685e74; $custom-dark: #000000;
JSON
{
"hex": "#2f243f",
"rgb": {
"r": 47,
"g": 36,
"b": 63
},
"hsl": {
"h": 264.444,
"s": 27.273,
"l": 19.412
},
"oklch": {
"l": 0.28601,
"c": 0.05017,
"h": 302.1
},
"luminance": 0.02225
}Semantic roles & 50–950 ramp
primary
#2F243F
secondary
#63724D
accent
#C4649D
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B