#4C2DA9#4C2DA9
#4C2DA9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.185 H 286.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2DA9 |
|---|---|
| RGB | rgb(76, 45, 169) |
| HSL | hsl(255, 58%, 42%) |
| HSV | hsv(255, 73%, 66%) |
| CMYK | cmyk(55%, 73.4%, 0%, 33.7%) |
| CIE-LAB | lab(30.10, 45.52, -61.52) |
| CIE-LCH | lch(30.10, 76.53, 306.50°) |
| OKLab | oklab(41.75% 0.0536 -0.1769) |
| OKLCH | oklch(41.75% 0.185 286.8) |
| XYZ | xyz(11.0782, 6.2773, 38.1563) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.43
Blue With A Hint Of Purple
#533CC6
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.56
Violet Blue
#510AC9
ΔE00 5.66
Purple Blue
#5D21D0
ΔE00 5.77
Blurple
#5539CC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2DA9 #8AA92D
analogous
#2D4CA9 #4C2DA9 #8A2DA9
triadic
#4C2DA9 #A94C2D #2DA94C
tetradic
#4C2DA9 #A92D4C #8AA92D #2DA98A
square
#4C2DA9 #A92D4C #8AA92D #2DA98A
split-complementary
#4C2DA9 #A98A2D #4CA92D
monochromatic
#211348 #362079 #4C2DA9 #6846CE #8F76DA
Accessibility & contrast
On white
9.31
#4C2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#4C2DA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2DA9
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2DA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2DA9 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#244F68
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4c2da9; /* rgb */ color: rgb(76, 45, 169); /* oklch */ color: oklch(41.8% 0.185 286.8);
Tailwind
colors: {
custom: {
50: '#8869c4',
500: '#4c2da9',
950: '#000000',
},
}SCSS
$custom: #4c2da9; $custom-light: #8869c4; $custom-dark: #000000;
JSON
{
"hex": "#4c2da9",
"rgb": {
"r": 76,
"g": 45,
"b": 169
},
"hsl": {
"h": 255,
"s": 57.944,
"l": 41.961
},
"oklch": {
"l": 0.41754,
"c": 0.18488,
"h": 286.8
},
"luminance": 0.06278
}Semantic roles & 50–950 ramp
primary
#4C2DA9
secondary
#AEC26F
accent
#E147BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82