#4F218F#4F218F
#4F218F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.168 H 296.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F218F |
|---|---|
| RGB | rgb(79, 33, 143) |
| HSL | hsl(265, 63%, 35%) |
| HSV | hsv(265, 77%, 56%) |
| CMYK | cmyk(44.8%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(25.96, 44.69, -52.42) |
| CIE-LCH | lch(25.96, 68.89, 310.45°) |
| OKLab | oklab(38.19% 0.075 -0.1501) |
| OKLCH | oklch(38.19% 0.168 296.5) |
| XYZ | xyz(8.7249, 4.7330, 26.4351) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.76
Rebeccapurple
#663399
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 5.99
Royal Purple (survey)
#4B006E
ΔE00 7.03
Royal
#0C1793
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F218F #618F21
analogous
#212A8F #4F218F #86218F
triadic
#4F218F #8F4F21 #218F4F
tetradic
#4F218F #8F212A #618F21 #218F86
square
#4F218F #8F212A #618F21 #218F86
split-complementary
#4F218F #8F8621 #2A8F21
monochromatic
#180A2C #34165D #4F218F #6A2CC1 #8A53D7
Accessibility & contrast
On white
10.79
#4F218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4F218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F218F
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F218F | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#3E3E57
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4f218f; /* rgb */ color: rgb(79, 33, 143); /* oklch */ color: oklch(38.2% 0.168 296.5);
Tailwind
colors: {
custom: {
50: '#8761b1',
500: '#4f218f',
950: '#000000',
},
}SCSS
$custom: #4f218f; $custom-light: #8761b1; $custom-dark: #000000;
JSON
{
"hex": "#4f218f",
"rgb": {
"r": 79,
"g": 33,
"b": 143
},
"hsl": {
"h": 265.091,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.38187,
"c": 0.16777,
"h": 296.5
},
"luminance": 0.04733
}Semantic roles & 50–950 ramp
primary
#4F218F
secondary
#8FBB51
accent
#E642A1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980