#4F2F93#4F2F93
#4F2F93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.155 H 292.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2F93 |
|---|---|
| RGB | rgb(79, 47, 147) |
| HSL | hsl(259, 52%, 38%) |
| HSV | hsv(259, 68%, 58%) |
| CMYK | cmyk(46.3%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(28.91, 38.53, -50.09) |
| CIE-LCH | lch(28.91, 63.19, 307.57°) |
| OKLab | oklab(40.39% 0.0602 -0.1433) |
| OKLCH | oklch(40.39% 0.155 292.8) |
| XYZ | xyz(9.5060, 5.8016, 28.2171) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.42
Darkslateblue
#483D8B
ΔE00 4.96
Blueberry
#464196
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 6.83
Ocean Blue
#4F42B5
ΔE00 7.14
Indigo
#4B0082
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2F93 #73932F
analogous
#2F4193 #4F2F93 #812F93
triadic
#4F2F93 #934F2F #2F934F
tetradic
#4F2F93 #932F41 #73932F #2F9381
square
#4F2F93 #932F41 #73932F #2F9381
split-complementary
#4F2F93 #93812F #41932F
monochromatic
#1D1136 #362065 #4F2F93 #683EC1 #8C6CD0
Accessibility & contrast
On white
9.72
#4F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#4F2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2F93
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2F93 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#3B475D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f2f93; /* rgb */ color: rgb(79, 47, 147); /* oklch */ color: oklch(40.4% 0.155 292.8);
Tailwind
colors: {
custom: {
50: '#866ab3',
500: '#4f2f93',
950: '#000000',
},
}SCSS
$custom: #4f2f93; $custom-light: #866ab3; $custom-dark: #000000;
JSON
{
"hex": "#4f2f93",
"rgb": {
"r": 79,
"g": 47,
"b": 147
},
"hsl": {
"h": 259.2,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.40387,
"c": 0.15545,
"h": 292.8
},
"luminance": 0.05802
}Semantic roles & 50–950 ramp
primary
#4F2F93
secondary
#9DB766
accent
#DB4DAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80