#4C2CAE#4C2CAE
#4C2CAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.192 H 286.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2CAE |
|---|---|
| RGB | rgb(76, 44, 174) |
| HSL | hsl(255, 60%, 43%) |
| HSV | hsv(255, 75%, 68%) |
| CMYK | cmyk(56.3%, 74.7%, 0%, 31.8%) |
| CIE-LAB | lab(30.38, 47.51, -64.06) |
| CIE-LCH | lch(30.38, 79.75, 306.56°) |
| OKLab | oklab(42.1% 0.0532 -0.1844) |
| OKLCH | oklch(42.1% 0.192 286.1) |
| XYZ | xyz(11.5189, 6.3932, 40.6632) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Violet Blue
#510AC9
ΔE00 5.05
Purple Blue
#5D21D0
ΔE00 5.11
Blue With A Hint Of Purple
#533CC6
ΔE00 5.15
Blurple
#5539CC
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2CAE #8EAE2C
analogous
#2C4DAE #4C2CAE #8D2CAE
triadic
#4C2CAE #AE4C2C #2CAE4C
tetradic
#4C2CAE #AE2C4D #8EAE2C #2CAE8D
square
#4C2CAE #AE2C4D #8EAE2C #2CAE8D
split-complementary
#4C2CAE #AE8D2C #4DAE2C
monochromatic
#21134C #37207D #4C2CAE #6947D0 #9178DD
Accessibility & contrast
On white
9.22
#4C2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#4C2CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2CAE
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2CAE | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#1E506B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4c2cae; /* rgb */ color: rgb(76, 44, 174); /* oklch */ color: oklch(42.1% 0.192 286.1);
Tailwind
colors: {
custom: {
50: '#8969c7',
500: '#4c2cae',
950: '#000000',
},
}SCSS
$custom: #4c2cae; $custom-light: #8969c7; $custom-dark: #000000;
JSON
{
"hex": "#4c2cae",
"rgb": {
"r": 76,
"g": 44,
"b": 174
},
"hsl": {
"h": 254.769,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.42095,
"c": 0.19188,
"h": 286.1
},
"luminance": 0.06394
}Semantic roles & 50–950 ramp
primary
#4C2CAE
secondary
#B0C571
accent
#E345BC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82