#4C1967#4C1967
#4C1967 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.132 H 311.1°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1967 |
|---|---|
| RGB | rgb(76, 25, 103) |
| HSL | hsl(279, 61%, 25%) |
| HSV | hsv(279, 76%, 40%) |
| CMYK | cmyk(26.2%, 75.7%, 0%, 59.6%) |
| CIE-LAB | lab(20.87, 37.65, -35.28) |
| CIE-LCH | lch(20.87, 51.59, 316.86°) |
| OKLab | oklab(33.45% 0.0872 -0.0998) |
| OKLCH | oklch(33.45% 0.132 311.1) |
| XYZ | xyz(5.7758, 3.2112, 13.1449) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.93
Plum Purple
#4E0550
ΔE00 5.77
Indigo
#4B0082
ΔE00 6.26
Deep Violet
#490648
ΔE00 7.03
Indigo (survey)
#380282
ΔE00 7.96
Eggplant Purple
#430541
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1967 #346719
analogous
#251967 #4C1967 #67195B
triadic
#4C1967 #674C19 #19674C
tetradic
#4C1967 #672519 #346719 #195B67
square
#4C1967 #672519 #346719 #195B67
split-complementary
#4C1967 #5B6719 #196725
monochromatic
#120619 #280D36 #4C1967 #702598 #9531C9
Accessibility & contrast
On white
12.79
#4C1967 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#4C1967 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1967
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1967 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1967 | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#0D3365
Tritanopia (blue-blind)
#492A3E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #4c1967; /* rgb */ color: rgb(76, 25, 103); /* oklch */ color: oklch(33.5% 0.132 311.1);
Tailwind
colors: {
custom: {
50: '#815b93',
500: '#4c1967',
950: '#000000',
},
}SCSS
$custom: #4c1967; $custom-light: #815b93; $custom-dark: #000000;
JSON
{
"hex": "#4c1967",
"rgb": {
"r": 76,
"g": 25,
"b": 103
},
"hsl": {
"h": 279.231,
"s": 60.938,
"l": 25.098
},
"oklch": {
"l": 0.33454,
"c": 0.13249,
"h": 311.1
},
"luminance": 0.03211
}Semantic roles & 50–950 ramp
primary
#4C1967
secondary
#5F9D3F
accent
#E4447B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E