#4C2AB3#4C2AB3
#4C2AB3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.200 H 285.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2AB3 |
|---|---|
| RGB | rgb(76, 42, 179) |
| HSL | hsl(255, 62%, 43%) |
| HSV | hsv(255, 77%, 70%) |
| CMYK | cmyk(57.5%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(30.51, 49.95, -66.83) |
| CIE-LCH | lch(30.51, 83.43, 306.78°) |
| OKLab | oklab(42.33% 0.0533 -0.1925) |
| OKLCH | oklch(42.33% 0.2 285.5) |
| XYZ | xyz(11.9427, 6.4464, 43.2541) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Violet Blue
#510AC9
ΔE00 4.34
Purple Blue
#5D21D0
ΔE00 4.46
Blue With A Hint Of Purple
#533CC6
ΔE00 5.01
Blurple
#5539CC
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2AB3 #91B32A
analogous
#2A4CB3 #4C2AB3 #912AB3
triadic
#4C2AB3 #B34C2A #2AB34C
tetradic
#4C2AB3 #B32A4C #91B32A #2AB391
square
#4C2AB3 #B32A4C #91B32A #2AB391
split-complementary
#4C2AB3 #B3912A #4CB32A
monochromatic
#221350 #371E81 #4C2AB3 #6A46D4 #9278DF
Accessibility & contrast
On white
9.17
#4C2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4C2AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2AB3
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2AB3 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#17516D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4c2ab3; /* rgb */ color: rgb(76, 42, 179); /* oklch */ color: oklch(42.3% 0.200 285.5);
Tailwind
colors: {
custom: {
50: '#8a68cb',
500: '#4c2ab3',
950: '#000000',
},
}SCSS
$custom: #4c2ab3; $custom-light: #8a68cb; $custom-dark: #000000;
JSON
{
"hex": "#4c2ab3",
"rgb": {
"r": 76,
"g": 42,
"b": 179
},
"hsl": {
"h": 254.891,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.4233,
"c": 0.19973,
"h": 285.5
},
"luminance": 0.06447
}Semantic roles & 50–950 ramp
primary
#4C2AB3
secondary
#B2C772
accent
#E543BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82