#4A2DC9#4A2DC9
#4A2DC9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.222 H 281.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2DC9 |
|---|---|
| RGB | rgb(74, 45, 201) |
| HSL | hsl(251, 63%, 48%) |
| HSV | hsv(251, 78%, 79%) |
| CMYK | cmyk(63.2%, 77.6%, 0%, 21.2%) |
| CIE-LAB | lab(33.02, 54.63, -75.67) |
| CIE-LCH | lch(33.02, 93.33, 305.83°) |
| OKLab | oklab(44.7% 0.0425 -0.2184) |
| OKLCH | oklch(44.7% 0.222 281) |
| XYZ | xyz(14.3017, 7.5486, 55.9504) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.96
Purple Blue
#5D21D0
ΔE00 3.01
Blue With A Hint Of Purple
#533CC6
ΔE00 3.38
Violet Blue
#510AC9
ΔE00 4.31
Blue Violet
#5D06E9
ΔE00 5.16
Purpley Blue
#5F34E7
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2DC9 #ACC92D
analogous
#2D5EC9 #4A2DC9 #982DC9
triadic
#4A2DC9 #C94A2D #2DC94A
tetradic
#4A2DC9 #C92D5E #ACC92D #2DC998
square
#4A2DC9 #C92D5E #ACC92D #2DC998
split-complementary
#4A2DC9 #C9982D #5EC92D
monochromatic
#251765 #382297 #4A2DC9 #7159DA #9C8BE5
Accessibility & contrast
On white
8.37
#4A2DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#4A2DC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2DC9
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2DC9 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4a2dc9; /* rgb */ color: rgb(74, 45, 201); /* oklch */ color: oklch(44.7% 0.222 281.0);
Tailwind
colors: {
custom: {
50: '#8d6bdb',
500: '#4a2dc9',
950: '#000000',
},
}SCSS
$custom: #4a2dc9; $custom-light: #8d6bdb; $custom-dark: #000000;
JSON
{
"hex": "#4a2dc9",
"rgb": {
"r": 74,
"g": 45,
"b": 201
},
"hsl": {
"h": 251.154,
"s": 63.415,
"l": 48.235
},
"oklch": {
"l": 0.44699,
"c": 0.22245,
"h": 281
},
"luminance": 0.0755
}Semantic roles & 50–950 ramp
primary
#4A2DC9
secondary
#C1CF83
accent
#E641C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83