#4F173B#4F173B
#4F173B is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.095 H 344.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4F173B |
|---|---|
| RGB | rgb(79, 23, 59) |
| HSL | hsl(321, 55%, 20%) |
| HSV | hsv(321, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 25.3%, 69%) |
| CIE-LAB | lab(18.33, 30.49, -9.50) |
| CIE-LCH | lch(18.33, 31.93, 342.69°) |
| OKLab | oklab(30.84% 0.0917 -0.0253) |
| OKLCH | oklch(30.84% 0.095 344.6) |
| XYZ | xyz(4.3204, 2.5912, 4.4094) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.93
Dark Plum
#3F012C
ΔE00 4.89
Aubergine
#3D0734
ΔE00 5.13
Grape Purple
#5D1451
ΔE00 5.90
Eggplant
#380835
ΔE00 6.43
Eggplant Purple
#430541
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F173B #174F2B
analogous
#47174F #4F173B #4F171F
triadic
#4F173B #3B4F17 #173B4F
tetradic
#4F173B #4F4717 #174F2B #171F4F
square
#4F173B #4F4717 #174F2B #171F4F
split-complementary
#4F173B #1F4F17 #174F47
monochromatic
#180712 #200918 #4F173B #7E255E #AE3382
Accessibility & contrast
On white
13.83
#4F173B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#4F173B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F173B
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F173B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F173B | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#2D303A
Tritanopia (blue-blind)
#541726
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #4f173b; /* rgb */ color: rgb(79, 23, 59); /* oklch */ color: oklch(30.8% 0.095 344.6);
Tailwind
colors: {
custom: {
50: '#835871',
500: '#4f173b',
950: '#000000',
},
}SCSS
$custom: #4f173b; $custom-light: #835871; $custom-dark: #000000;
JSON
{
"hex": "#4f173b",
"rgb": {
"r": 79,
"g": 23,
"b": 59
},
"hsl": {
"h": 321.429,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.30843,
"c": 0.09514,
"h": 344.6
},
"luminance": 0.02591
}Semantic roles & 50–950 ramp
primary
#4F173B
secondary
#3C8656
accent
#DE7F4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A