#2F253F#2F253F
#2F253F is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.8% C 0.048 H 301.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F253F |
|---|---|
| RGB | rgb(47, 37, 63) |
| HSL | hsl(263, 26%, 20%) |
| HSV | hsv(263, 41%, 25%) |
| CMYK | cmyk(25.4%, 41.3%, 0%, 75.3%) |
| CIE-LAB | lab(16.92, 11.23, -14.85) |
| CIE-LCH | lch(16.92, 18.62, 307.10°) |
| OKLab | oklab(28.83% 0.0249 -0.0412) |
| OKLCH | oklch(28.83% 0.048 301.1) |
| XYZ | xyz(2.7309, 2.2863, 4.9991) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.18
Navy (survey)
#01153E
ΔE00 10.65
Eggplant
#380835
ΔE00 11.05
Dark Purple
#35063E
ΔE00 11.21
Midnight
#03012D
ΔE00 11.40
Very Dark Purple
#2A0134
ΔE00 11.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F253F #353F25
analogous
#25283F #2F253F #3C253F
triadic
#2F253F #3F2F25 #253F2F
tetradic
#2F253F #3F2528 #353F25 #253F3C
square
#2F253F #3F2528 #353F25 #253F3C
split-complementary
#2F253F #3F3C25 #283F25
monochromatic
#0E0B13 #120E18 #2F253F #4C3C66 #69528C
Accessibility & contrast
On white
14.41
#2F253F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#2F253F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F253F
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F253F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F253F | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#212A3E
Tritanopia (blue-blind)
#2C292F
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2f253f; /* rgb */ color: rgb(47, 37, 63); /* oklch */ color: oklch(28.8% 0.048 301.1);
Tailwind
colors: {
custom: {
50: '#685f74',
500: '#2f253f',
950: '#000000',
},
}SCSS
$custom: #2f253f; $custom-light: #685f74; $custom-dark: #000000;
JSON
{
"hex": "#2f253f",
"rgb": {
"r": 47,
"g": 37,
"b": 63
},
"hsl": {
"h": 263.077,
"s": 26,
"l": 19.608
},
"oklch": {
"l": 0.28827,
"c": 0.04811,
"h": 301.1
},
"luminance": 0.02286
}Semantic roles & 50–950 ramp
primary
#2F253F
secondary
#64714E
accent
#C2659F
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B