#4F2C97#4F2C97
#4F2C97 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.164 H 292.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2C97 |
|---|---|
| RGB | rgb(79, 44, 151) |
| HSL | hsl(260, 55%, 38%) |
| HSV | hsv(260, 71%, 59%) |
| CMYK | cmyk(47.7%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(28.64, 41.34, -52.98) |
| CIE-LCH | lch(28.64, 67.20, 307.96°) |
| OKLab | oklab(40.3% 0.0627 -0.1518) |
| OKLCH | oklch(40.3% 0.164 292.4) |
| XYZ | xyz(9.7095, 5.6977, 29.8603) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.60
Darkslateblue
#483D8B
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 5.91
Blueberry
#464196
ΔE00 6.59
Ocean Blue
#4F42B5
ΔE00 7.20
Indigo
#4B0082
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2C97 #74972C
analogous
#2C3E97 #4F2C97 #842C97
triadic
#4F2C97 #974F2C #2C974F
tetradic
#4F2C97 #972C3E #74972C #2C9784
square
#4F2C97 #972C3E #74972C #2C9784
split-complementary
#4F2C97 #97842C #3E972C
monochromatic
#1D1038 #361E68 #4F2C97 #683AC6 #8C6AD4
Accessibility & contrast
On white
9.81
#4F2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4F2C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2C97
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2C97 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#39475E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f2c97; /* rgb */ color: rgb(79, 44, 151); /* oklch */ color: oklch(40.3% 0.164 292.4);
Tailwind
colors: {
custom: {
50: '#8768b6',
500: '#4f2c97',
950: '#000000',
},
}SCSS
$custom: #4f2c97; $custom-light: #8768b6; $custom-dark: #000000;
JSON
{
"hex": "#4f2c97",
"rgb": {
"r": 79,
"g": 44,
"b": 151
},
"hsl": {
"h": 259.626,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.40298,
"c": 0.16424,
"h": 292.4
},
"luminance": 0.05698
}Semantic roles & 50–950 ramp
primary
#4F2C97
secondary
#9EBA65
accent
#DE4AAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80