#4F2B97#4F2B97
#4F2B97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.165 H 292.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B97 |
|---|---|
| RGB | rgb(79, 43, 151) |
| HSL | hsl(260, 56%, 38%) |
| HSV | hsv(260, 72%, 59%) |
| CMYK | cmyk(47.7%, 71.5%, 0%, 40.8%) |
| CIE-LAB | lab(28.44, 41.87, -53.30) |
| CIE-LCH | lch(28.44, 67.78, 308.16°) |
| OKLab | oklab(40.16% 0.0637 -0.1527) |
| OKLCH | oklch(40.16% 0.165 292.6) |
| XYZ | xyz(9.6727, 5.6241, 29.8481) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.67
Indigo Blue
#3A18B1
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 6.82
Indigo
#4B0082
ΔE00 7.18
Ocean Blue
#4F42B5
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B97 #73972B
analogous
#2B3D97 #4F2B97 #852B97
triadic
#4F2B97 #974F2B #2B974F
tetradic
#4F2B97 #972B3D #73972B #2B9785
square
#4F2B97 #972B3D #73972B #2B9785
split-complementary
#4F2B97 #97852B #3D972B
monochromatic
#1D1038 #361D67 #4F2B97 #6839C7 #8C68D4
Accessibility & contrast
On white
9.88
#4F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4F2B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B97
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B97 | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#39465E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f2b97; /* rgb */ color: rgb(79, 43, 151); /* oklch */ color: oklch(40.2% 0.165 292.6);
Tailwind
colors: {
custom: {
50: '#8767b6',
500: '#4f2b97',
950: '#000000',
},
}SCSS
$custom: #4f2b97; $custom-light: #8767b6; $custom-dark: #000000;
JSON
{
"hex": "#4f2b97",
"rgb": {
"r": 79,
"g": 43,
"b": 151
},
"hsl": {
"h": 260,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.4016,
"c": 0.16546,
"h": 292.6
},
"luminance": 0.05624
}Semantic roles & 50–950 ramp
primary
#4F2B97
secondary
#9DBB63
accent
#DF49AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80