#4C2FAE#4C2FAE
#4C2FAE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.189 H 285.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2FAE |
|---|---|
| RGB | rgb(76, 47, 174) |
| HSL | hsl(254, 57%, 43%) |
| HSV | hsv(254, 73%, 68%) |
| CMYK | cmyk(56.3%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(30.94, 45.95, -63.15) |
| CIE-LCH | lch(30.94, 78.09, 306.04°) |
| OKLab | oklab(42.49% 0.0508 -0.1817) |
| OKLCH | oklch(42.49% 0.189 285.6) |
| XYZ | xyz(11.6347, 6.6249, 40.7018) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.70
Indigo Blue
#3A18B1
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 4.91
Blurple
#5539CC
ΔE00 4.99
Purple Blue
#5D21D0
ΔE00 5.28
Violet Blue
#510AC9
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2FAE #91AE2F
analogous
#2F51AE #4C2FAE #8B2FAE
triadic
#4C2FAE #AE4C2F #2FAE4C
tetradic
#4C2FAE #AE2F51 #91AE2F #2FAE8B
square
#4C2FAE #AE2F51 #91AE2F #2FAE8B
split-complementary
#4C2FAE #AE8B2F #51AE2F
monochromatic
#22154E #37227E #4C2FAE #6A4CCF #927CDC
Accessibility & contrast
On white
9.03
#4C2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4C2FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2FAE
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2FAE | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#1E516C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4c2fae; /* rgb */ color: rgb(76, 47, 174); /* oklch */ color: oklch(42.5% 0.189 285.6);
Tailwind
colors: {
custom: {
50: '#896ac7',
500: '#4c2fae',
950: '#000000',
},
}SCSS
$custom: #4c2fae; $custom-light: #896ac7; $custom-dark: #000000;
JSON
{
"hex": "#4c2fae",
"rgb": {
"r": 76,
"g": 47,
"b": 174
},
"hsl": {
"h": 253.701,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.42486,
"c": 0.1887,
"h": 285.6
},
"luminance": 0.06626
}Semantic roles & 50–950 ramp
primary
#4C2FAE
secondary
#B2C475
accent
#E147BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82