#4C1F96#4C1F96
#4C1F96 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.177 H 293.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1F96 |
|---|---|
| RGB | rgb(76, 31, 150) |
| HSL | hsl(263, 66%, 35%) |
| HSV | hsv(263, 79%, 59%) |
| CMYK | cmyk(49.3%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.92, 47.00, -56.83) |
| CIE-LCH | lch(25.92, 73.75, 309.59°) |
| OKLab | oklab(38.27% 0.07 -0.1631) |
| OKLCH | oklch(38.27% 0.177 293.2) |
| XYZ | xyz(8.9740, 4.7182, 29.2861) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.62
Indigo
#4B0082
ΔE00 5.03
Indigo (survey)
#380282
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 6.28
Ultramarine
#2000B1
ΔE00 6.77
Violet Blue
#510AC9
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1F96 #69961F
analogous
#1F2D96 #4C1F96 #871F96
triadic
#4C1F96 #964C1F #1F964C
tetradic
#4C1F96 #961F2D #69961F #1F9687
square
#4C1F96 #961F2D #69961F #1F9687
split-complementary
#4C1F96 #96871F #2D961F
monochromatic
#190A31 #321563 #4C1F96 #6629C9 #8754DC
Accessibility & contrast
On white
10.80
#4C1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4C1F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1F96
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1F96 | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#35415A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4c1f96; /* rgb */ color: rgb(76, 31, 150); /* oklch */ color: oklch(38.3% 0.177 293.2);
Tailwind
colors: {
custom: {
50: '#8660b6',
500: '#4c1f96',
950: '#000000',
},
}SCSS
$custom: #4c1f96; $custom-light: #8660b6; $custom-dark: #000000;
JSON
{
"hex": "#4c1f96",
"rgb": {
"r": 76,
"g": 31,
"b": 150
},
"hsl": {
"h": 262.689,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.38271,
"c": 0.17749,
"h": 293.2
},
"luminance": 0.04718
}Semantic roles & 50–950 ramp
primary
#4C1F96
secondary
#96BF52
accent
#E93FA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980