#4F2F8E#4F2F8E
#4F2F8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.149 H 294.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2F8E |
|---|---|
| RGB | rgb(79, 47, 142) |
| HSL | hsl(260, 50%, 37%) |
| HSV | hsv(260, 67%, 56%) |
| CMYK | cmyk(44.4%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.51, 37.08, -47.65) |
| CIE-LCH | lch(28.51, 60.38, 307.89°) |
| OKLab | oklab(39.97% 0.0609 -0.1361) |
| OKLCH | oklch(39.97% 0.149 294.1) |
| XYZ | xyz(9.1221, 5.6480, 26.1955) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.49
Darkslateblue
#483D8B
ΔE00 4.78
Blueberry
#464196
ΔE00 6.08
Indigo Blue
#3A18B1
ΔE00 7.50
Indigo
#4B0082
ΔE00 7.73
Ocean Blue
#4F42B5
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2F8E #6E8E2F
analogous
#2F3E8E #4F2F8E #7F2F8E
triadic
#4F2F8E #8E4F2F #2F8E4F
tetradic
#4F2F8E #8E2F3E #6E8E2F #2F8E7F
square
#4F2F8E #8E2F3E #6E8E2F #2F8E7F
split-complementary
#4F2F8E #8E7F2F #3E8E2F
monochromatic
#1C1132 #352060 #4F2F8E #693EBC #8B6ACE
Accessibility & contrast
On white
9.86
#4F2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4F2F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2F8E
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2F8E | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#3E455A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f2f8e; /* rgb */ color: rgb(79, 47, 142); /* oklch */ color: oklch(40.0% 0.149 294.1);
Tailwind
colors: {
custom: {
50: '#866ab0',
500: '#4f2f8e',
950: '#000000',
},
}SCSS
$custom: #4f2f8e; $custom-light: #866ab0; $custom-dark: #000000;
JSON
{
"hex": "#4f2f8e",
"rgb": {
"r": 79,
"g": 47,
"b": 142
},
"hsl": {
"h": 260.211,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.39974,
"c": 0.14915,
"h": 294.1
},
"luminance": 0.05648
}Semantic roles & 50–950 ramp
primary
#4F2F8E
secondary
#9AB564
accent
#DA4EAB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F