#4B1F79#4B1F79
#4B1F79 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.145 H 301.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1F79 |
|---|---|
| RGB | rgb(75, 31, 121) |
| HSL | hsl(269, 59%, 30%) |
| HSV | hsv(269, 74%, 47%) |
| CMYK | cmyk(38%, 74.4%, 0%, 52.5%) |
| CIE-LAB | lab(23.19, 39.07, -43.14) |
| CIE-LCH | lch(23.19, 58.20, 312.16°) |
| OKLab | oklab(35.53% 0.0759 -0.123) |
| OKLCH | oklch(35.53% 0.145 301.7) |
| XYZ | xyz(6.8420, 3.8563, 18.4693) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.53
Royal Purple (survey)
#4B006E
ΔE00 4.72
Indigo (survey)
#380282
ΔE00 5.94
Rebeccapurple
#663399
ΔE00 7.49
Midnight Blue
#191970
ΔE00 8.11
Darkslateblue
#483D8B
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1F79 #4D791F
analogous
#1F2079 #4B1F79 #781F79
triadic
#4B1F79 #794B1F #1F794B
tetradic
#4B1F79 #791F20 #4D791F #1F7978
square
#4B1F79 #791F20 #4D791F #1F7978
split-complementary
#4B1F79 #79781F #20791F
monochromatic
#0F0618 #2D1348 #4B1F79 #692BAA #8843CF
Accessibility & contrast
On white
11.86
#4B1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#4B1F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1F79
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1F79 | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#41354A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4b1f79; /* rgb */ color: rgb(75, 31, 121); /* oklch */ color: oklch(35.5% 0.145 301.7);
Tailwind
colors: {
custom: {
50: '#825fa0',
500: '#4b1f79',
950: '#000000',
},
}SCSS
$custom: #4b1f79; $custom-light: #825fa0; $custom-dark: #000000;
JSON
{
"hex": "#4b1f79",
"rgb": {
"r": 75,
"g": 31,
"b": 121
},
"hsl": {
"h": 269.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.35525,
"c": 0.14451,
"h": 301.7
},
"luminance": 0.03856
}Semantic roles & 50–950 ramp
primary
#4B1F79
secondary
#7BAC47
accent
#E24596
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E