#4F2B9B#4F2B9B
#4F2B9B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.170 H 291.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B9B |
|---|---|
| RGB | rgb(79, 43, 155) |
| HSL | hsl(259, 57%, 39%) |
| HSV | hsv(259, 72%, 61%) |
| CMYK | cmyk(49%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(28.79, 43.01, -55.18) |
| CIE-LCH | lch(28.79, 69.96, 307.94°) |
| OKLab | oklab(40.51% 0.0629 -0.1582) |
| OKLCH | oklch(40.51% 0.17 291.7) |
| XYZ | xyz(10.0031, 5.7562, 31.5880) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.79
Indigo Blue
#3A18B1
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 6.29
Blueberry
#464196
ΔE00 6.83
Ocean Blue
#4F42B5
ΔE00 6.99
Violet Blue
#510AC9
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B9B #779B2B
analogous
#2B3F9B #4F2B9B #872B9B
triadic
#4F2B9B #9B4F2B #2B9B4F
tetradic
#4F2B9B #9B2B3F #779B2B #2B9B87
square
#4F2B9B #9B2B3F #779B2B #2B9B87
split-complementary
#4F2B9B #9B872B #3F9B2B
monochromatic
#1E103B #371E6B #4F2B9B #683BC9 #8D6BD6
Accessibility & contrast
On white
9.76
#4F2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4F2B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B9B
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B9B | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#374860
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f2b9b; /* rgb */ color: rgb(79, 43, 155); /* oklch */ color: oklch(40.5% 0.170 291.7);
Tailwind
colors: {
custom: {
50: '#8868b9',
500: '#4f2b9b',
950: '#000000',
},
}SCSS
$custom: #4f2b9b; $custom-light: #8868b9; $custom-dark: #000000;
JSON
{
"hex": "#4f2b9b",
"rgb": {
"r": 79,
"g": 43,
"b": 155
},
"hsl": {
"h": 259.286,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.40513,
"c": 0.17027,
"h": 291.7
},
"luminance": 0.05757
}Semantic roles & 50–950 ramp
primary
#4F2B9B
secondary
#A0BC65
accent
#E048AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81