#4A2AAE#4A2AAE
#4A2AAE is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.194 H 285.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2AAE |
|---|---|
| RGB | rgb(74, 42, 174) |
| HSL | hsl(255, 61%, 42%) |
| HSV | hsv(255, 76%, 68%) |
| CMYK | cmyk(57.5%, 75.9%, 0%, 31.8%) |
| CIE-LAB | lab(29.83, 48.24, -64.97) |
| CIE-LCH | lch(29.83, 80.92, 306.59°) |
| OKLab | oklab(41.66% 0.0517 -0.1871) |
| OKLCH | oklch(41.66% 0.194 285.4) |
| XYZ | xyz(11.2897, 6.1671, 40.6317) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.65
Violet Blue
#510AC9
ΔE00 4.81
Purple Blue
#5D21D0
ΔE00 5.18
Blue With A Hint Of Purple
#533CC6
ΔE00 5.51
Blurple
#5539CC
ΔE00 5.65
Ocean Blue
#4F42B5
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2AAE #8EAE2A
analogous
#2A4CAE #4A2AAE #8C2AAE
triadic
#4A2AAE #AE4A2A #2AAE4A
tetradic
#4A2AAE #AE2A4C #8EAE2A #2AAE8C
square
#4A2AAE #AE2A4C #8EAE2A #2AAE8C
split-complementary
#4A2AAE #AE8C2A #4CAE2A
monochromatic
#20124B #351E7D #4A2AAE #6643D2 #8E75DE
Accessibility & contrast
On white
9.40
#4A2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#4A2AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2AAE
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2AAE | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#174F6A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4a2aae; /* rgb */ color: rgb(74, 42, 174); /* oklch */ color: oklch(41.7% 0.194 285.4);
Tailwind
colors: {
custom: {
50: '#8867c7',
500: '#4a2aae',
950: '#000000',
},
}SCSS
$custom: #4a2aae; $custom-light: #8867c7; $custom-dark: #000000;
JSON
{
"hex": "#4a2aae",
"rgb": {
"r": 74,
"g": 42,
"b": 174
},
"hsl": {
"h": 254.545,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.41658,
"c": 0.1941,
"h": 285.4
},
"luminance": 0.06168
}Semantic roles & 50–950 ramp
primary
#4A2AAE
secondary
#B0C56F
accent
#E444BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82