#4C1A9F#4C1A9F
#4C1A9F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.192 H 291.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1A9F |
|---|---|
| RGB | rgb(76, 26, 159) |
| HSL | hsl(263, 72%, 36%) |
| HSV | hsv(263, 84%, 62%) |
| CMYK | cmyk(52.2%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(26.09, 51.47, -62.05) |
| CIE-LCH | lch(26.09, 80.62, 309.67°) |
| OKLab | oklab(38.66% 0.0704 -0.1783) |
| OKLCH | oklch(38.66% 0.192 291.5) |
| XYZ | xyz(9.6061, 4.7781, 33.2103) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.40
Indigo
#4B0082
ΔE00 5.44
Violet Blue
#510AC9
ΔE00 5.50
Ultramarine
#2000B1
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1A9F #6D9F1A
analogous
#1A2B9F #4C1A9F #8F1A9F
triadic
#4C1A9F #9F4C1A #1A9F4C
tetradic
#4C1A9F #9F1A2B #6D9F1A #1A9F8F
square
#4C1A9F #9F1A2B #6D9F1A #1A9F8F
split-complementary
#4C1A9F #9F8F1A #2B9F1A
monochromatic
#1A0936 #33116A #4C1A9F #6523D4 #8851E3
Accessibility & contrast
On white
10.74
#4C1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4C1A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1A9F
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1A9F | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#2F425E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c1a9f; /* rgb */ color: rgb(76, 26, 159); /* oklch */ color: oklch(38.7% 0.192 291.5);
Tailwind
colors: {
custom: {
50: '#885fbd',
500: '#4c1a9f',
950: '#000000',
},
}SCSS
$custom: #4c1a9f; $custom-light: #885fbd; $custom-dark: #000000;
JSON
{
"hex": "#4c1a9f",
"rgb": {
"r": 76,
"g": 26,
"b": 159
},
"hsl": {
"h": 262.556,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.38662,
"c": 0.19174,
"h": 291.5
},
"luminance": 0.04778
}Semantic roles & 50–950 ramp
primary
#4C1A9F
secondary
#99C550
accent
#EF39AA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981