#4F2F7C#4F2F7C
#4F2F7C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.6% C 0.126 H 299.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2F7C |
|---|---|
| RGB | rgb(79, 47, 124) |
| HSL | hsl(265, 45%, 34%) |
| HSV | hsv(265, 62%, 49%) |
| CMYK | cmyk(36.3%, 62.1%, 0%, 51.4%) |
| CIE-LAB | lab(27.16, 31.97, -38.60) |
| CIE-LCH | lch(27.16, 50.12, 309.64°) |
| OKLab | oklab(38.57% 0.0623 -0.1095) |
| OKLCH | oklch(38.57% 0.126 299.6) |
| XYZ | xyz(7.8782, 5.1505, 19.6440) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.51
Rebeccapurple
#663399
ΔE00 5.95
Blueberry
#464196
ΔE00 7.62
Indigo
#4B0082
ΔE00 8.20
Royal Purple (survey)
#4B006E
ΔE00 8.43
Indigo (survey)
#380282
ΔE00 9.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2F7C #5C7C2F
analogous
#2F357C #4F2F7C #752F7C
triadic
#4F2F7C #7C4F2F #2F7C4F
tetradic
#4F2F7C #7C2F35 #5C7C2F #2F7C75
square
#4F2F7C #7C2F35 #5C7C2F #2F7C75
split-complementary
#4F2F7C #7C752F #357C2F
monochromatic
#160D23 #331E50 #4F2F7C #6B40A8 #8A62C3
Accessibility & contrast
On white
10.34
#4F2F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4F2F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2F7C
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2F7C | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02407E
Deuteranopia (green-blind)
#14407A
Tritanopia (blue-blind)
#453F51
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4f2f7c; /* rgb */ color: rgb(79, 47, 124); /* oklch */ color: oklch(38.6% 0.126 299.6);
Tailwind
colors: {
custom: {
50: '#8469a2',
500: '#4f2f7c',
950: '#000000',
},
}SCSS
$custom: #4f2f7c; $custom-light: #8469a2; $custom-dark: #000000;
JSON
{
"hex": "#4f2f7c",
"rgb": {
"r": 79,
"g": 47,
"b": 124
},
"hsl": {
"h": 264.935,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.3857,
"c": 0.126,
"h": 299.6
},
"luminance": 0.05151
}Semantic roles & 50–950 ramp
primary
#4F2F7C
secondary
#8AAA5C
accent
#D5539F
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F