#271D2F#271D2F
#271D2F is a dark, muted violet. Relative luminance 0.015; OKLCH L 25.1% C 0.036 H 309.3°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).
Color values
| HEX | #271D2F |
|---|---|
| RGB | rgb(39, 29, 47) |
| HSL | hsl(273, 24%, 15%) |
| HSV | hsv(273, 38%, 18%) |
| CMYK | cmyk(17%, 38.3%, 0%, 81.6%) |
| CIE-LAB | lab(12.71, 9.28, -10.15) |
| CIE-LCH | lch(12.71, 13.75, 312.43°) |
| OKLab | oklab(25.11% 0.0228 -0.0279) |
| OKLCH | oklch(25.11% 0.036 309.3) |
| XYZ | xyz(1.7891, 1.5153, 2.8870) |
| Luminance | 0.0152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.96
Dark
#1B2431
ΔE00 11.17
Midnight
#03012D
ΔE00 11.37
Eggplant
#380835
ΔE00 11.65
Navy (survey)
#01153E
ΔE00 11.72
Dark Navy Blue
#00022E
ΔE00 11.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271D2F #252F1D
analogous
#1E1D2F #271D2F #2F1D2E
triadic
#271D2F #2F271D #1D2F27
tetradic
#271D2F #2F1E1D #252F1D #1D2E2F
square
#271D2F #2F1E1D #252F1D #1D2E2F
split-complementary
#271D2F #2E2F1D #1D2F1E
monochromatic
#100C13 #100C13 #271D2F #463455 #664C7B
Accessibility & contrast
On white
16.12
#271D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#271D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271D2F
16.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271D2F | 1.00 | 16.12 | 1.30 | 16.12 |
| #FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2030
Deuteranopia (green-blind)
#1C212E
Tritanopia (blue-blind)
#261F24
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #271d2f; /* rgb */ color: rgb(39, 29, 47); /* oklch */ color: oklch(25.1% 0.036 309.3);
Tailwind
colors: {
custom: {
50: '#615967',
500: '#271d2f',
950: '#000000',
},
}SCSS
$custom: #271d2f; $custom-light: #615967; $custom-dark: #000000;
JSON
{
"hex": "#271d2f",
"rgb": {
"r": 39,
"g": 29,
"b": 47
},
"hsl": {
"h": 273.333,
"s": 23.684,
"l": 14.902
},
"oklch": {
"l": 0.25111,
"c": 0.03601,
"h": 309.3
},
"luminance": 0.01515
}Semantic roles & 50–950 ramp
primary
#271D2F
secondary
#526246
accent
#C0688F
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050306
muted
#79787A