#4C2AAF#4C2AAF
#4C2AAF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.195 H 286.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2AAF |
|---|---|
| RGB | rgb(76, 42, 175) |
| HSL | hsl(255, 61%, 43%) |
| HSV | hsv(255, 76%, 69%) |
| CMYK | cmyk(56.6%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(30.13, 48.80, -65.08) |
| CIE-LCH | lch(30.13, 81.34, 306.86°) |
| OKLab | oklab(41.94% 0.0544 -0.1873) |
| OKLCH | oklch(41.94% 0.195 286.2) |
| XYZ | xyz(11.5440, 6.2869, 41.1543) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.80
Violet Blue
#510AC9
ΔE00 4.67
Purple Blue
#5D21D0
ΔE00 4.93
Blue With A Hint Of Purple
#533CC6
ΔE00 5.37
Blurple
#5539CC
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2AAF #8DAF2A
analogous
#2A4BAF #4C2AAF #8E2AAF
triadic
#4C2AAF #AF4C2A #2AAF4C
tetradic
#4C2AAF #AF2A4B #8DAF2A #2AAF8E
square
#4C2AAF #AF2A4B #8DAF2A #2AAF8E
split-complementary
#4C2AAF #AF8E2A #4BAF2A
monochromatic
#21124C #371E7E #4C2AAF #6844D2 #9075DE
Accessibility & contrast
On white
9.30
#4C2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#4C2AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2AAF
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2AAF | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#1D4F6B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4c2aaf; /* rgb */ color: rgb(76, 42, 175); /* oklch */ color: oklch(41.9% 0.195 286.2);
Tailwind
colors: {
custom: {
50: '#8968c8',
500: '#4c2aaf',
950: '#000000',
},
}SCSS
$custom: #4c2aaf; $custom-light: #8968c8; $custom-dark: #000000;
JSON
{
"hex": "#4c2aaf",
"rgb": {
"r": 76,
"g": 42,
"b": 175
},
"hsl": {
"h": 255.338,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.41942,
"c": 0.19509,
"h": 286.2
},
"luminance": 0.06288
}Semantic roles & 50–950 ramp
primary
#4C2AAF
secondary
#AFC66F
accent
#E443BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82