#4D2CAE#4D2CAE
#4D2CAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.192 H 286.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2CAE |
|---|---|
| RGB | rgb(77, 44, 174) |
| HSL | hsl(255, 60%, 43%) |
| HSV | hsv(255, 75%, 68%) |
| CMYK | cmyk(55.7%, 74.7%, 0%, 31.8%) |
| CIE-LAB | lab(30.48, 47.65, -63.89) |
| CIE-LCH | lch(30.48, 79.70, 306.72°) |
| OKLab | oklab(42.19% 0.0546 -0.1839) |
| OKLCH | oklch(42.19% 0.192 286.6) |
| XYZ | xyz(11.5989, 6.4345, 40.6670) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Violet Blue
#510AC9
ΔE00 5.03
Purple Blue
#5D21D0
ΔE00 5.05
Blue With A Hint Of Purple
#533CC6
ΔE00 5.13
Blurple
#5539CC
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2CAE #8DAE2C
analogous
#2C4CAE #4D2CAE #8E2CAE
triadic
#4D2CAE #AE4D2C #2CAE4D
tetradic
#4D2CAE #AE2C4C #8DAE2C #2CAE8E
square
#4D2CAE #AE2C4C #8DAE2C #2CAE8E
split-complementary
#4D2CAE #AE8E2C #4CAE2C
monochromatic
#22134C #37207D #4D2CAE #6A47D0 #9178DD
Accessibility & contrast
On white
9.18
#4D2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4D2CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2CAE
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2CAE | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#21506B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4d2cae; /* rgb */ color: rgb(77, 44, 174); /* oklch */ color: oklch(42.2% 0.192 286.6);
Tailwind
colors: {
custom: {
50: '#8969c7',
500: '#4d2cae',
950: '#000000',
},
}SCSS
$custom: #4d2cae; $custom-light: #8969c7; $custom-dark: #000000;
JSON
{
"hex": "#4d2cae",
"rgb": {
"r": 77,
"g": 44,
"b": 174
},
"hsl": {
"h": 255.231,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.42189,
"c": 0.1918,
"h": 286.6
},
"luminance": 0.06435
}Semantic roles & 50–950 ramp
primary
#4D2CAE
secondary
#AFC571
accent
#E345BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82