#4C1F90#4C1F90
#4C1F90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.171 H 294.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1F90 |
|---|---|
| RGB | rgb(76, 31, 144) |
| HSL | hsl(264, 65%, 34%) |
| HSV | hsv(264, 78%, 56%) |
| CMYK | cmyk(47.2%, 78.5%, 0%, 43.5%) |
| CIE-LAB | lab(25.35, 45.39, -54.05) |
| CIE-LCH | lch(25.35, 70.58, 310.02°) |
| OKLab | oklab(37.7% 0.0717 -0.155) |
| OKLCH | oklch(37.7% 0.171 294.8) |
| XYZ | xyz(8.5032, 4.5299, 26.8065) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 5.47
Rebeccapurple
#663399
ΔE00 6.27
Royal Purple (survey)
#4B006E
ΔE00 7.02
Royal
#0C1793
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1F90 #63901F
analogous
#1F2B90 #4C1F90 #851F90
triadic
#4C1F90 #904C1F #1F904C
tetradic
#4C1F90 #901F2B #63901F #1F9085
square
#4C1F90 #901F2B #63901F #1F9085
split-complementary
#4C1F90 #90851F #2B901F
monochromatic
#17092B #31145E #4C1F90 #672AC2 #8750D9
Accessibility & contrast
On white
11.02
#4C1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4C1F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1F90
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1F90 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#383E57
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4c1f90; /* rgb */ color: rgb(76, 31, 144); /* oklch */ color: oklch(37.7% 0.171 294.8);
Tailwind
colors: {
custom: {
50: '#8560b1',
500: '#4c1f90',
950: '#000000',
},
}SCSS
$custom: #4c1f90; $custom-light: #8560b1; $custom-dark: #000000;
JSON
{
"hex": "#4c1f90",
"rgb": {
"r": 76,
"g": 31,
"b": 144
},
"hsl": {
"h": 263.894,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.37703,
"c": 0.17078,
"h": 294.8
},
"luminance": 0.0453
}Semantic roles & 50–950 ramp
primary
#4C1F90
secondary
#91BC4E
accent
#E840A5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980