#4F2B96#4F2B96
#4F2B96 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.164 H 292.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B96 |
|---|---|
| RGB | rgb(79, 43, 150) |
| HSL | hsl(260, 55%, 38%) |
| HSV | hsv(260, 71%, 59%) |
| CMYK | cmyk(47.3%, 71.3%, 0%, 41.2%) |
| CIE-LAB | lab(28.36, 41.59, -52.82) |
| CIE-LCH | lch(28.36, 67.23, 308.21°) |
| OKLab | oklab(40.07% 0.0639 -0.1513) |
| OKLCH | oklch(40.07% 0.164 292.9) |
| XYZ | xyz(9.5918, 5.5917, 29.4222) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.65
Indigo Blue
#3A18B1
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.01
Blueberry
#464196
ΔE00 6.82
Indigo
#4B0082
ΔE00 7.12
Ocean Blue
#4F42B5
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B96 #72962B
analogous
#2B3C96 #4F2B96 #842B96
triadic
#4F2B96 #964F2B #2B964F
tetradic
#4F2B96 #962B3C #72962B #2B9684
square
#4F2B96 #962B3C #72962B #2B9684
split-complementary
#4F2B96 #96842B #3C962B
monochromatic
#1D1037 #361D66 #4F2B96 #6839C6 #8C68D4
Accessibility & contrast
On white
9.91
#4F2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4F2B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B96
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B96 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#3A465D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f2b96; /* rgb */ color: rgb(79, 43, 150); /* oklch */ color: oklch(40.1% 0.164 292.9);
Tailwind
colors: {
custom: {
50: '#8767b6',
500: '#4f2b96',
950: '#000000',
},
}SCSS
$custom: #4f2b96; $custom-light: #8767b6; $custom-dark: #000000;
JSON
{
"hex": "#4f2b96",
"rgb": {
"r": 79,
"g": 43,
"b": 150
},
"hsl": {
"h": 260.187,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.40073,
"c": 0.16426,
"h": 292.9
},
"luminance": 0.05592
}Semantic roles & 50–950 ramp
primary
#4F2B96
secondary
#9DBA63
accent
#DF49AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80