#4C1FA5#4C1FA5
#4C1FA5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.194 H 289.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1FA5 |
|---|---|
| RGB | rgb(76, 31, 165) |
| HSL | hsl(260, 68%, 38%) |
| HSV | hsv(260, 81%, 65%) |
| CMYK | cmyk(53.9%, 81.2%, 0%, 35.3%) |
| CIE-LAB | lab(27.39, 51.06, -63.57) |
| CIE-LCH | lch(27.39, 81.53, 308.77°) |
| OKLab | oklab(39.74% 0.0651 -0.1828) |
| OKLCH | oklch(39.74% 0.194 289.6) |
| XYZ | xyz(10.2600, 5.2326, 36.0594) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.94
Violet Blue
#510AC9
ΔE00 4.81
Ultramarine
#2000B1
ΔE00 5.80
Purple Blue
#5D21D0
ΔE00 6.31
True Blue
#010FCC
ΔE00 6.64
Indigo
#4B0082
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1FA5 #78A51F
analogous
#1F35A5 #4C1FA5 #8F1FA5
triadic
#4C1FA5 #A54C1F #1FA54C
tetradic
#4C1FA5 #A51F35 #78A51F #1FA58F
square
#4C1FA5 #A51F35 #78A51F #1FA58F
split-complementary
#4C1FA5 #A58F1F #35A51F
monochromatic
#1D0C3E #341571 #4C1FA5 #642AD7 #8A5EE1
Accessibility & contrast
On white
10.26
#4C1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4C1FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1FA5
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1FA5 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#294763
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c1fa5; /* rgb */ color: rgb(76, 31, 165); /* oklch */ color: oklch(39.7% 0.194 289.6);
Tailwind
colors: {
custom: {
50: '#8861c1',
500: '#4c1fa5',
950: '#000000',
},
}SCSS
$custom: #4c1fa5; $custom-light: #8861c1; $custom-dark: #000000;
JSON
{
"hex": "#4c1fa5",
"rgb": {
"r": 76,
"g": 31,
"b": 165
},
"hsl": {
"h": 260.149,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.39737,
"c": 0.19407,
"h": 289.6
},
"luminance": 0.05233
}Semantic roles & 50–950 ramp
primary
#4C1FA5
secondary
#A1C55B
accent
#EB3DB1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0512
muted
#7D7A81