#4F2F66#4F2F66
#4F2F66 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.097 H 309.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2F66 |
|---|---|
| RGB | rgb(79, 47, 102) |
| HSL | hsl(275, 37%, 29%) |
| HSV | hsv(275, 54%, 40%) |
| CMYK | cmyk(22.5%, 53.9%, 0%, 60%) |
| CIE-LAB | lab(25.73, 26.05, -26.83) |
| CIE-LCH | lch(25.73, 37.40, 314.16°) |
| OKLab | oklab(37.06% 0.0614 -0.0751) |
| OKLCH | oklch(37.06% 0.097 309.3) |
| XYZ | xyz(6.6388, 4.6547, 13.1165) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Grape
#6C3461
ΔE00 8.54
Grape Purple
#5D1451
ΔE00 9.06
Plum Purple
#4E0550
ΔE00 9.12
Darkslateblue
#483D8B
ΔE00 9.19
Darkish Purple
#751973
ΔE00 9.47
Deep Violet
#490648
ΔE00 9.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2F66 #46662F
analogous
#342F66 #4F2F66 #662F62
triadic
#4F2F66 #664F2F #2F664F
tetradic
#4F2F66 #66342F #46662F #2F6266
square
#4F2F66 #66342F #46662F #2F6266
split-complementary
#4F2F66 #62662F #2F6634
monochromatic
#100A15 #2F1C3C #4F2F66 #6F4290 #8F5CB4
Accessibility & contrast
On white
10.88
#4F2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4F2F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2F66
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2F66 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#2A3D65
Tritanopia (blue-blind)
#4C3846
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4f2f66; /* rgb */ color: rgb(79, 47, 102); /* oklch */ color: oklch(37.1% 0.097 309.3);
Tailwind
colors: {
custom: {
50: '#826892',
500: '#4f2f66',
950: '#000000',
},
}SCSS
$custom: #4f2f66; $custom-light: #826892; $custom-dark: #000000;
JSON
{
"hex": "#4f2f66",
"rgb": {
"r": 79,
"g": 47,
"b": 102
},
"hsl": {
"h": 274.909,
"s": 36.913,
"l": 29.216
},
"oklch": {
"l": 0.37055,
"c": 0.097,
"h": 309.3
},
"luminance": 0.04655
}Semantic roles & 50–950 ramp
primary
#4F2F66
secondary
#739859
accent
#CD5B8B
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E