#4F2B7F#4F2B7F
#4F2B7F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.136 H 299.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B7F |
|---|---|
| RGB | rgb(79, 43, 127) |
| HSL | hsl(266, 49%, 33%) |
| HSV | hsv(266, 66%, 50%) |
| CMYK | cmyk(37.8%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(26.51, 35.13, -41.53) |
| CIE-LCH | lch(26.51, 54.40, 310.23°) |
| OKLab | oklab(38.17% 0.0672 -0.1181) |
| OKLCH | oklch(38.17% 0.136 299.6) |
| XYZ | xyz(7.9181, 4.9222, 20.6075) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.10
Indigo
#4B0082
ΔE00 6.94
Royal Purple (survey)
#4B006E
ΔE00 7.48
Blueberry
#464196
ΔE00 8.02
Indigo (survey)
#380282
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B7F #5B7F2B
analogous
#2B317F #4F2B7F #792B7F
triadic
#4F2B7F #7F4F2B #2B7F4F
tetradic
#4F2B7F #7F2B31 #5B7F2B #2B7F79
square
#4F2B7F #7F2B31 #5B7F2B #2B7F79
split-complementary
#4F2B7F #7F792B #317F2B
monochromatic
#160C24 #331C51 #4F2B7F #6B3AAD #8B5CC8
Accessibility & contrast
On white
10.58
#4F2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#4F2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B7F
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B7F | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#443E51
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4f2b7f; /* rgb */ color: rgb(79, 43, 127); /* oklch */ color: oklch(38.2% 0.136 299.6);
Tailwind
colors: {
custom: {
50: '#8467a5',
500: '#4f2b7f',
950: '#000000',
},
}SCSS
$custom: #4f2b7f; $custom-light: #8467a5; $custom-dark: #000000;
JSON
{
"hex": "#4f2b7f",
"rgb": {
"r": 79,
"g": 43,
"b": 127
},
"hsl": {
"h": 265.714,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.38169,
"c": 0.13591,
"h": 299.6
},
"luminance": 0.04922
}Semantic roles & 50–950 ramp
primary
#4F2B7F
secondary
#89AE58
accent
#D94F9E
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F