#4C1679#4C1679
#4C1679 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.155 H 303.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1679 |
|---|---|
| RGB | rgb(76, 22, 121) |
| HSL | hsl(273, 69%, 28%) |
| HSV | hsv(273, 82%, 47%) |
| CMYK | cmyk(37.2%, 81.8%, 0%, 52.5%) |
| CIE-LAB | lab(21.91, 43.32, -45.22) |
| CIE-LCH | lch(21.91, 62.62, 313.77°) |
| OKLab | oklab(34.66% 0.0861 -0.129) |
| OKLCH | oklch(34.66% 0.155 303.7) |
| XYZ | xyz(6.7178, 3.4908, 18.4053) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.01
Royal Purple (survey)
#4B006E
ΔE00 3.21
Indigo (survey)
#380282
ΔE00 4.93
Rebeccapurple
#663399
ΔE00 8.31
Midnight Blue
#191970
ΔE00 8.42
Plum Purple
#4E0550
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1679 #437916
analogous
#1A1679 #4C1679 #791674
triadic
#4C1679 #794C16 #16794C
tetradic
#4C1679 #791A16 #437916 #167479
square
#4C1679 #791A16 #437916 #167479
split-complementary
#4C1679 #747916 #16791A
monochromatic
#10051A #2B0D45 #4C1679 #6D1FAD #8C30D9
Accessibility & contrast
On white
12.37
#4C1679 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#4C1679 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1679
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1679 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1679 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#433048
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #4c1679; /* rgb */ color: rgb(76, 22, 121); /* oklch */ color: oklch(34.7% 0.155 303.7);
Tailwind
colors: {
custom: {
50: '#835aa1',
500: '#4c1679',
950: '#000000',
},
}SCSS
$custom: #4c1679; $custom-light: #835aa1; $custom-dark: #000000;
JSON
{
"hex": "#4c1679",
"rgb": {
"r": 76,
"g": 22,
"b": 121
},
"hsl": {
"h": 272.727,
"s": 69.231,
"l": 28.039
},
"oklch": {
"l": 0.34655,
"c": 0.15509,
"h": 303.7
},
"luminance": 0.03491
}Semantic roles & 50–950 ramp
primary
#4C1679
secondary
#70AE3D
accent
#EC3C8C
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F