#4F136F#4F136F
#4F136F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.149 H 310.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4F136F |
|---|---|
| RGB | rgb(79, 19, 111) |
| HSL | hsl(279, 71%, 25%) |
| HSV | hsv(279, 83%, 44%) |
| CMYK | cmyk(28.8%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(21.12, 42.64, -40.06) |
| CIE-LCH | lch(21.12, 58.51, 316.79°) |
| OKLab | oklab(33.93% 0.0959 -0.1137) |
| OKLCH | oklch(33.93% 0.149 310.2) |
| XYZ | xyz(6.3260, 3.2758, 15.3349) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.43
Indigo
#4B0082
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 6.54
Plum Purple
#4E0550
ΔE00 6.72
Deep Violet
#490648
ΔE00 8.19
Darkish Purple
#751973
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F136F #336F13
analogous
#21136F #4F136F #6F1361
triadic
#4F136F #6F4F13 #136F4F
tetradic
#4F136F #6F2113 #336F13 #13616F
square
#4F136F #6F2113 #336F13 #13616F
split-complementary
#4F136F #616F13 #136F21
monochromatic
#13041A #2A0A3B #4F136F #741CA3 #9925D8
Accessibility & contrast
On white
12.69
#4F136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#4F136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F136F
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F136F | 1.00 | 12.69 | 1.66 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#4A2A41
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #4f136f; /* rgb */ color: rgb(79, 19, 111); /* oklch */ color: oklch(33.9% 0.149 310.2);
Tailwind
colors: {
custom: {
50: '#845999',
500: '#4f136f',
950: '#000000',
},
}SCSS
$custom: #4f136f; $custom-light: #845999; $custom-dark: #000000;
JSON
{
"hex": "#4f136f",
"rgb": {
"r": 79,
"g": 19,
"b": 111
},
"hsl": {
"h": 279.13,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.33928,
"c": 0.14875,
"h": 310.2
},
"luminance": 0.03276
}Semantic roles & 50–950 ramp
primary
#4F136F
secondary
#5EA638
accent
#EE3A79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E