#4A2FB3#4A2FB3
#4A2FB3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.195 H 283.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2FB3 |
|---|---|
| RGB | rgb(74, 47, 179) |
| HSL | hsl(252, 58%, 44%) |
| HSV | hsv(252, 74%, 70%) |
| CMYK | cmyk(58.7%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(31.21, 47.15, -65.68) |
| CIE-LCH | lch(31.21, 80.85, 305.67°) |
| OKLab | oklab(42.78% 0.0468 -0.1892) |
| OKLCH | oklch(42.78% 0.195 283.9) |
| XYZ | xyz(11.9747, 6.7428, 43.3096) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.26
Blurple
#5539CC
ΔE00 4.49
Indigo Blue
#3A18B1
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 4.78
Purple Blue
#5D21D0
ΔE00 4.88
Violet Blue
#510AC9
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2FB3 #98B32F
analogous
#2F56B3 #4A2FB3 #8C2FB3
triadic
#4A2FB3 #B34A2F #2FB34A
tetradic
#4A2FB3 #B32F56 #98B32F #2FB38C
square
#4A2FB3 #B32F56 #98B32F #2FB38C
split-complementary
#4A2FB3 #B38C2F #56B32F
monochromatic
#221652 #362283 #4A2FB3 #694FD1 #927FDD
Accessibility & contrast
On white
8.94
#4A2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4A2FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2FB3
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2FB3 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#0B546E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4a2fb3; /* rgb */ color: rgb(74, 47, 179); /* oklch */ color: oklch(42.8% 0.195 283.9);
Tailwind
colors: {
custom: {
50: '#896bcb',
500: '#4a2fb3',
950: '#000000',
},
}SCSS
$custom: #4a2fb3; $custom-light: #896bcb; $custom-dark: #000000;
JSON
{
"hex": "#4a2fb3",
"rgb": {
"r": 74,
"g": 47,
"b": 179
},
"hsl": {
"h": 252.273,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.42778,
"c": 0.19491,
"h": 283.9
},
"luminance": 0.06744
}Semantic roles & 50–950 ramp
primary
#4A2FB3
secondary
#B6C678
accent
#E246C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82