#271C2F#271C2F
#271C2F is a very dark, muted violet. Relative luminance 0.015; OKLCH L 24.9% C 0.038 H 310.3°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).
Color values
| HEX | #271C2F |
|---|---|
| RGB | rgb(39, 28, 47) |
| HSL | hsl(275, 25%, 15%) |
| HSV | hsv(275, 40%, 18%) |
| CMYK | cmyk(17%, 40.4%, 0%, 81.6%) |
| CIE-LAB | lab(12.40, 10.00, -10.62) |
| CIE-LCH | lch(12.40, 14.59, 313.28°) |
| OKLab | oklab(24.88% 0.0247 -0.0292) |
| OKLCH | oklch(24.88% 0.038 310.3) |
| XYZ | xyz(1.7650, 1.4671, 2.8790) |
| Luminance | 0.0147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Eggplant
#380835
ΔE00 11.05
Midnight
#03012D
ΔE00 11.10
Navy Blue
#1B2A4A
ΔE00 11.21
Dark Navy Blue
#00022E
ΔE00 11.54
Navy (survey)
#01153E
ΔE00 11.59
Very Dark Purple
#2A0134
ΔE00 11.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271C2F #242F1C
analogous
#1E1C2F #271C2F #2F1C2E
triadic
#271C2F #2F271C #1C2F27
tetradic
#271C2F #2F1E1C #242F1C #1C2E2F
square
#271C2F #2F1E1C #242F1C #1C2E2F
split-complementary
#271C2F #2E2F1C #1C2F1E
monochromatic
#100B13 #100B13 #271C2F #473355 #674A7C
Accessibility & contrast
On white
16.24
#271C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#271C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271C2F
16.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271C2F | 1.00 | 16.24 | 1.29 | 16.24 |
| #FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#1B212E
Tritanopia (blue-blind)
#261F23
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #271c2f; /* rgb */ color: rgb(39, 28, 47); /* oklch */ color: oklch(24.9% 0.038 310.3);
Tailwind
colors: {
custom: {
50: '#615867',
500: '#271c2f',
950: '#000000',
},
}SCSS
$custom: #271c2f; $custom-light: #615867; $custom-dark: #000000;
JSON
{
"hex": "#271c2f",
"rgb": {
"r": 39,
"g": 28,
"b": 47
},
"hsl": {
"h": 274.737,
"s": 25.333,
"l": 14.706
},
"oklch": {
"l": 0.24877,
"c": 0.03827,
"h": 310.3
},
"luminance": 0.01467
}Semantic roles & 50–950 ramp
primary
#271C2F
secondary
#516245
accent
#C2668D
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050306
muted
#79787A