#4F2A7B#4F2A7B
#4F2A7B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.132 H 301.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2A7B |
|---|---|
| RGB | rgb(79, 42, 123) |
| HSL | hsl(267, 49%, 32%) |
| HSV | hsv(267, 66%, 48%) |
| CMYK | cmyk(35.8%, 65.9%, 0%, 51.8%) |
| CIE-LAB | lab(26.00, 34.60, -39.83) |
| CIE-LCH | lch(26.00, 52.76, 310.99°) |
| OKLab | oklab(37.71% 0.0688 -0.1131) |
| OKLCH | oklch(37.71% 0.132 301.3) |
| XYZ | xyz(7.6267, 4.7482, 19.2497) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.63
Indigo
#4B0082
ΔE00 6.95
Royal Purple (survey)
#4B006E
ΔE00 7.11
Indigo (survey)
#380282
ΔE00 8.28
Blueberry
#464196
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2A7B #567B2A
analogous
#2A2E7B #4F2A7B #772A7B
triadic
#4F2A7B #7B4F2A #2A7B4F
tetradic
#4F2A7B #7B2A2E #567B2A #2A7B77
square
#4F2A7B #7B2A2E #567B2A #2A7B77
split-complementary
#4F2A7B #7B772A #2E7B2A
monochromatic
#140B20 #321A4D #4F2A7B #6C3AA9 #8B59C6
Accessibility & contrast
On white
10.77
#4F2A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4F2A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2A7B
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2A7B | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#0B3D79
Tritanopia (blue-blind)
#463C4E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4f2a7b; /* rgb */ color: rgb(79, 42, 123); /* oklch */ color: oklch(37.7% 0.132 301.3);
Tailwind
colors: {
custom: {
50: '#8466a2',
500: '#4f2a7b',
950: '#000000',
},
}SCSS
$custom: #4f2a7b; $custom-light: #8466a2; $custom-dark: #000000;
JSON
{
"hex": "#4f2a7b",
"rgb": {
"r": 79,
"g": 42,
"b": 123
},
"hsl": {
"h": 267.407,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.37708,
"c": 0.13238,
"h": 301.3
},
"luminance": 0.04748
}Semantic roles & 50–950 ramp
primary
#4F2A7B
secondary
#84AC55
accent
#D94F9A
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B060F
muted
#7C7A7F