#4C17A0#4C17A0
#4C17A0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.195 H 291.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4C17A0 |
|---|---|
| RGB | rgb(76, 23, 160) |
| HSL | hsl(263, 75%, 36%) |
| HSV | hsv(263, 86%, 63%) |
| CMYK | cmyk(52.5%, 85.6%, 0%, 37.3%) |
| CIE-LAB | lab(25.82, 52.82, -63.11) |
| CIE-LCH | lch(25.82, 82.30, 309.93°) |
| OKLab | oklab(38.51% 0.0718 -0.1814) |
| OKLCH | oklch(38.51% 0.195 291.6) |
| XYZ | xyz(9.6302, 4.6870, 33.6481) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Indigo
#4B0082
ΔE00 5.32
Violet Blue
#510AC9
ΔE00 5.34
Ultramarine
#2000B1
ΔE00 5.39
Indigo (survey)
#380282
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C17A0 #6BA017
analogous
#1726A0 #4C17A0 #9017A0
triadic
#4C17A0 #A04C17 #17A04C
tetradic
#4C17A0 #A01726 #6BA017 #17A090
square
#4C17A0 #A01726 #6BA017 #17A090
split-complementary
#4C17A0 #A09017 #26A017
monochromatic
#190835 #330F6A #4C17A0 #651FD6 #874CE5
Accessibility & contrast
On white
10.84
#4C17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4C17A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C17A0
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C17A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C17A0 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#2E425E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4c17a0; /* rgb */ color: rgb(76, 23, 160); /* oklch */ color: oklch(38.5% 0.195 291.6);
Tailwind
colors: {
custom: {
50: '#885ebd',
500: '#4c17a0',
950: '#000000',
},
}SCSS
$custom: #4c17a0; $custom-light: #885ebd; $custom-dark: #000000;
JSON
{
"hex": "#4c17a0",
"rgb": {
"r": 76,
"g": 23,
"b": 160
},
"hsl": {
"h": 263.212,
"s": 74.863,
"l": 35.882
},
"oklch": {
"l": 0.38507,
"c": 0.19508,
"h": 291.6
},
"luminance": 0.04687
}Semantic roles & 50–950 ramp
primary
#4C17A0
secondary
#97C74C
accent
#F136A9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0D0512
muted
#7D7981