#4F2F94#4F2F94
#4F2F94 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.157 H 292.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2F94 |
|---|---|
| RGB | rgb(79, 47, 148) |
| HSL | hsl(259, 52%, 38%) |
| HSV | hsv(259, 68%, 58%) |
| CMYK | cmyk(46.6%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(28.99, 38.82, -50.57) |
| CIE-LCH | lch(28.99, 63.75, 307.51°) |
| OKLab | oklab(40.47% 0.0601 -0.1447) |
| OKLCH | oklch(40.47% 0.157 292.5) |
| XYZ | xyz(9.5848, 5.8331, 28.6321) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 5.01
Blueberry
#464196
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 6.71
Ocean Blue
#4F42B5
ΔE00 7.02
Indigo
#4B0082
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2F94 #74942F
analogous
#2F4194 #4F2F94 #812F94
triadic
#4F2F94 #944F2F #2F944F
tetradic
#4F2F94 #942F41 #74942F #2F9481
square
#4F2F94 #942F41 #74942F #2F9481
split-complementary
#4F2F94 #94812F #41942F
monochromatic
#1D1137 #362066 #4F2F94 #683EC2 #8C6DD1
Accessibility & contrast
On white
9.69
#4F2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4F2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2F94
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2F94 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#3B485D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f2f94; /* rgb */ color: rgb(79, 47, 148); /* oklch */ color: oklch(40.5% 0.157 292.5);
Tailwind
colors: {
custom: {
50: '#876ab4',
500: '#4f2f94',
950: '#000000',
},
}SCSS
$custom: #4f2f94; $custom-light: #876ab4; $custom-dark: #000000;
JSON
{
"hex": "#4f2f94",
"rgb": {
"r": 79,
"g": 47,
"b": 148
},
"hsl": {
"h": 259.01,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.40471,
"c": 0.1567,
"h": 292.5
},
"luminance": 0.05833
}Semantic roles & 50–950 ramp
primary
#4F2F94
secondary
#9EB867
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80