#4F276F#4F276F
#4F276F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.122 H 306.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4F276F |
|---|---|
| RGB | rgb(79, 39, 111) |
| HSL | hsl(273, 48%, 29%) |
| HSV | hsv(273, 65%, 44%) |
| CMYK | cmyk(28.8%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(24.52, 33.12, -34.57) |
| CIE-LCH | lch(24.52, 47.87, 313.77°) |
| OKLab | oklab(36.35% 0.0734 -0.0977) |
| OKLCH | oklch(36.35% 0.122 306.9) |
| XYZ | xyz(6.8186, 4.2611, 15.4991) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.54
Indigo
#4B0082
ΔE00 7.59
Rebeccapurple
#663399
ΔE00 7.92
Plum Purple
#4E0550
ΔE00 8.32
Darkish Purple
#751973
ΔE00 8.53
Darkslateblue
#483D8B
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F276F #476F27
analogous
#2B276F #4F276F #6F276B
triadic
#4F276F #6F4F27 #276F4F
tetradic
#4F276F #6F2B27 #476F27 #276B6F
square
#4F276F #6F2B27 #476F27 #276B6F
split-complementary
#4F276F #6B6F27 #276F2B
monochromatic
#100817 #2F1742 #4F276F #6F379C #8F4FC1
Accessibility & contrast
On white
11.34
#4F276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#4F276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F276F
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F276F | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#023971
Deuteranopia (green-blind)
#193B6D
Tritanopia (blue-blind)
#4A3547
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #4f276f; /* rgb */ color: rgb(79, 39, 111); /* oklch */ color: oklch(36.4% 0.122 306.9);
Tailwind
colors: {
custom: {
50: '#836499',
500: '#4f276f',
950: '#000000',
},
}SCSS
$custom: #4f276f; $custom-light: #836499; $custom-dark: #000000;
JSON
{
"hex": "#4f276f",
"rgb": {
"r": 79,
"g": 39,
"b": 111
},
"hsl": {
"h": 273.333,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.36354,
"c": 0.12216,
"h": 306.9
},
"luminance": 0.04261
}Semantic roles & 50–950 ramp
primary
#4F276F
secondary
#74A250
accent
#D8508C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E