#271F32#271F32
#271F32 is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.8% C 0.037 H 303.2°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).
Color values
| HEX | #271F32 |
|---|---|
| RGB | rgb(39, 31, 50) |
| HSL | hsl(265, 23%, 16%) |
| HSV | hsv(265, 38%, 20%) |
| CMYK | cmyk(22%, 38%, 0%, 80.4%) |
| CIE-LAB | lab(13.48, 8.68, -11.11) |
| CIE-LCH | lch(13.48, 14.09, 308.01°) |
| OKLab | oklab(25.76% 0.0201 -0.0306) |
| OKLCH | oklch(25.76% 0.037 303.2) |
| XYZ | xyz(1.9023, 1.6416, 3.2336) |
| Luminance | 0.0164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.86
Dark
#1B2431
ΔE00 10.36
Midnight
#03012D
ΔE00 11.09
Navy (survey)
#01153E
ΔE00 11.10
Dark Navy Blue
#00022E
ΔE00 11.43
Eggplant
#380835
ΔE00 12.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271F32 #2A321F
analogous
#1F2032 #271F32 #301F32
triadic
#271F32 #32271F #1F3227
tetradic
#271F32 #321F20 #2A321F #1F3230
square
#271F32 #321F20 #2A321F #1F3230
split-complementary
#271F32 #32301F #20321F
monochromatic
#0F0C13 #0F0C13 #271F32 #443658 #624E7E
Accessibility & contrast
On white
15.81
#271F32 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#271F32 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271F32
15.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271F32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271F32 | 1.00 | 15.81 | 1.33 | 15.81 |
| #FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2233
Deuteranopia (green-blind)
#1D2331
Tritanopia (blue-blind)
#252226
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #271f32; /* rgb */ color: rgb(39, 31, 50); /* oklch */ color: oklch(25.8% 0.037 303.2);
Tailwind
colors: {
custom: {
50: '#615a6a',
500: '#271f32',
950: '#000000',
},
}SCSS
$custom: #271f32; $custom-light: #615a6a; $custom-dark: #000000;
JSON
{
"hex": "#271f32",
"rgb": {
"r": 39,
"g": 31,
"b": 50
},
"hsl": {
"h": 265.263,
"s": 23.457,
"l": 15.882
},
"oklch": {
"l": 0.25755,
"c": 0.03659,
"h": 303.2
},
"luminance": 0.01642
}Semantic roles & 50–950 ramp
primary
#271F32
secondary
#596548
accent
#C0689B
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050306
muted
#79787A