#4C1F92#4C1F92
#4C1F92 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.173 H 294.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1F92 |
|---|---|
| RGB | rgb(76, 31, 146) |
| HSL | hsl(263, 65%, 35%) |
| HSV | hsv(263, 79%, 57%) |
| CMYK | cmyk(47.9%, 78.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.54, 45.93, -54.99) |
| CIE-LCH | lch(25.54, 71.64, 309.87°) |
| OKLab | oklab(37.89% 0.0712 -0.1577) |
| OKLCH | oklch(37.89% 0.173 294.3) |
| XYZ | xyz(8.6574, 4.5915, 27.6187) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.67
Indigo Blue
#3A18B1
ΔE00 5.18
Indigo (survey)
#380282
ΔE00 5.48
Rebeccapurple
#663399
ΔE00 6.26
Royal
#0C1793
ΔE00 7.08
Ultramarine
#2000B1
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1F92 #65921F
analogous
#1F2C92 #4C1F92 #861F92
triadic
#4C1F92 #924C1F #1F924C
tetradic
#4C1F92 #921F2C #65921F #1F9286
square
#4C1F92 #921F2C #65921F #1F9286
split-complementary
#4C1F92 #92861F #2C921F
monochromatic
#170A2D #321460 #4C1F92 #662AC4 #8751DA
Accessibility & contrast
On white
10.95
#4C1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#4C1F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1F92
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1F92 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#373F58
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4c1f92; /* rgb */ color: rgb(76, 31, 146); /* oklch */ color: oklch(37.9% 0.173 294.3);
Tailwind
colors: {
custom: {
50: '#8660b3',
500: '#4c1f92',
950: '#000000',
},
}SCSS
$custom: #4c1f92; $custom-light: #8660b3; $custom-dark: #000000;
JSON
{
"hex": "#4c1f92",
"rgb": {
"r": 76,
"g": 31,
"b": 146
},
"hsl": {
"h": 263.478,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.37891,
"c": 0.17302,
"h": 294.3
},
"luminance": 0.04592
}Semantic roles & 50–950 ramp
primary
#4C1F92
secondary
#92BD50
accent
#E840A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980