#2F233F#2F233F
#2F233F is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.052 H 303.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F233F |
|---|---|
| RGB | rgb(47, 35, 63) |
| HSL | hsl(266, 29%, 19%) |
| HSV | hsv(266, 44%, 25%) |
| CMYK | cmyk(25.4%, 44.4%, 0%, 75.3%) |
| CIE-LAB | lab(16.33, 12.64, -15.77) |
| CIE-LCH | lch(16.33, 20.21, 308.70°) |
| OKLab | oklab(28.38% 0.0284 -0.0438) |
| OKLCH | oklch(28.38% 0.052 303) |
| XYZ | xyz(2.6703, 2.1653, 4.9789) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.72
Eggplant
#380835
ΔE00 10.06
Dark Purple
#35063E
ΔE00 10.17
Navy (survey)
#01153E
ΔE00 10.46
Very Dark Purple
#2A0134
ΔE00 10.60
Midnight Purple
#280137
ΔE00 10.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F233F #333F23
analogous
#23253F #2F233F #3D233F
triadic
#2F233F #3F2F23 #233F2F
tetradic
#2F233F #3F2325 #333F23 #233F3D
square
#2F233F #3F2325 #333F23 #233F3D
split-complementary
#2F233F #3F3D23 #253F23
monochromatic
#0F0B14 #120D18 #2F233F #4C3966 #6A4F8E
Accessibility & contrast
On white
14.65
#2F233F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2F233F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F233F
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F233F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F233F | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C2840
Deuteranopia (green-blind)
#1F283E
Tritanopia (blue-blind)
#2C282E
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2f233f; /* rgb */ color: rgb(47, 35, 63); /* oklch */ color: oklch(28.4% 0.052 303.0);
Tailwind
colors: {
custom: {
50: '#685e74',
500: '#2f233f',
950: '#000000',
},
}SCSS
$custom: #2f233f; $custom-light: #685e74; $custom-dark: #000000;
JSON
{
"hex": "#2f233f",
"rgb": {
"r": 47,
"g": 35,
"b": 63
},
"hsl": {
"h": 265.714,
"s": 28.571,
"l": 19.216
},
"oklch": {
"l": 0.28377,
"c": 0.05223,
"h": 303
},
"luminance": 0.02165
}Semantic roles & 50–950 ramp
primary
#2F233F
secondary
#62724C
accent
#C5639B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B