#4F2B98#4F2B98
#4F2B98 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.167 H 292.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B98 |
|---|---|
| RGB | rgb(79, 43, 152) |
| HSL | hsl(260, 56%, 38%) |
| HSV | hsv(260, 72%, 60%) |
| CMYK | cmyk(48%, 71.7%, 0%, 40.4%) |
| CIE-LAB | lab(28.53, 42.16, -53.77) |
| CIE-LCH | lch(28.53, 68.32, 308.10°) |
| OKLab | oklab(40.25% 0.0635 -0.1541) |
| OKLCH | oklch(40.25% 0.167 292.4) |
| XYZ | xyz(9.7542, 5.6567, 30.2776) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.69
Indigo Blue
#3A18B1
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.11
Blueberry
#464196
ΔE00 6.81
Indigo
#4B0082
ΔE00 7.24
Ocean Blue
#4F42B5
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B98 #74982B
analogous
#2B3D98 #4F2B98 #852B98
triadic
#4F2B98 #984F2B #2B984F
tetradic
#4F2B98 #982B3D #74982B #2B9885
square
#4F2B98 #982B3D #74982B #2B9885
split-complementary
#4F2B98 #98852B #3D982B
monochromatic
#1D1039 #361E68 #4F2B98 #6839C7 #8C69D5
Accessibility & contrast
On white
9.85
#4F2B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4F2B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B98
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B98 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#38475E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f2b98; /* rgb */ color: rgb(79, 43, 152); /* oklch */ color: oklch(40.2% 0.167 292.4);
Tailwind
colors: {
custom: {
50: '#8767b7',
500: '#4f2b98',
950: '#000000',
},
}SCSS
$custom: #4f2b98; $custom-light: #8767b7; $custom-dark: #000000;
JSON
{
"hex": "#4f2b98",
"rgb": {
"r": 79,
"g": 43,
"b": 152
},
"hsl": {
"h": 259.817,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.40248,
"c": 0.16666,
"h": 292.4
},
"luminance": 0.05657
}Semantic roles & 50–950 ramp
primary
#4F2B98
secondary
#9EBB64
accent
#DF49AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80