#4A2CBF#4A2CBF
#4A2CBF is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.212 H 282.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2CBF |
|---|---|
| RGB | rgb(74, 44, 191) |
| HSL | hsl(252, 63%, 46%) |
| HSV | hsv(252, 77%, 75%) |
| CMYK | cmyk(61.3%, 77%, 0%, 25.1%) |
| CIE-LAB | lab(31.85, 52.20, -71.75) |
| CIE-LCH | lch(31.85, 88.73, 306.04°) |
| OKLab | oklab(43.58% 0.0458 -0.2069) |
| OKLCH | oklch(43.58% 0.212 282.5) |
| XYZ | xyz(13.1258, 7.0179, 49.9430) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.54
Blurple
#5539CC
ΔE00 3.76
Blue With A Hint Of Purple
#533CC6
ΔE00 3.90
Violet Blue
#510AC9
ΔE00 4.13
Indigo Blue
#3A18B1
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2CBF #A1BF2C
analogous
#2C57BF #4A2CBF #932CBF
triadic
#4A2CBF #BF4A2C #2CBF4A
tetradic
#4A2CBF #BF2C57 #A1BF2C #2CBF93
square
#4A2CBF #BF2C57 #A1BF2C #2CBF93
split-complementary
#4A2CBF #BF932C #57BF2C
monochromatic
#23155C #37218D #4A2CBF #6D51D7 #9683E2
Accessibility & contrast
On white
8.74
#4A2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#4A2CBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2CBF
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2CBF | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4a2cbf; /* rgb */ color: rgb(74, 44, 191); /* oklch */ color: oklch(43.6% 0.212 282.5);
Tailwind
colors: {
custom: {
50: '#8b69d4',
500: '#4a2cbf',
950: '#000000',
},
}SCSS
$custom: #4a2cbf; $custom-light: #8b69d4; $custom-dark: #000000;
JSON
{
"hex": "#4a2cbf",
"rgb": {
"r": 74,
"g": 44,
"b": 191
},
"hsl": {
"h": 252.245,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.43576,
"c": 0.21191,
"h": 282.5
},
"luminance": 0.07019
}Semantic roles & 50–950 ramp
primary
#4A2CBF
secondary
#BBCC7B
accent
#E642C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83