#4A2FB1#4A2FB1
#4A2FB1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.193 H 284.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2FB1 |
|---|---|
| RGB | rgb(74, 47, 177) |
| HSL | hsl(252, 58%, 44%) |
| HSV | hsv(252, 73%, 69%) |
| CMYK | cmyk(58.2%, 73.4%, 0%, 30.6%) |
| CIE-LAB | lab(31.03, 46.55, -64.80) |
| CIE-LCH | lch(31.03, 79.79, 305.69°) |
| OKLab | oklab(42.59% 0.0472 -0.1866) |
| OKLCH | oklch(42.59% 0.193 284.2) |
| XYZ | xyz(11.7739, 6.6625, 42.2520) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.45
Indigo Blue
#3A18B1
ΔE00 4.60
Blurple
#5539CC
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 4.82
Purple Blue
#5D21D0
ΔE00 5.09
Violet Blue
#510AC9
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2FB1 #96B12F
analogous
#2F55B1 #4A2FB1 #8B2FB1
triadic
#4A2FB1 #B14A2F #2FB14A
tetradic
#4A2FB1 #B12F55 #96B12F #2FB18B
square
#4A2FB1 #B12F55 #96B12F #2FB18B
split-complementary
#4A2FB1 #B18B2F #55B12F
monochromatic
#221550 #362281 #4A2FB1 #684DD0 #917EDD
Accessibility & contrast
On white
9.00
#4A2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4A2FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2FB1
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2FB1 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#10536D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4a2fb1; /* rgb */ color: rgb(74, 47, 177); /* oklch */ color: oklch(42.6% 0.193 284.2);
Tailwind
colors: {
custom: {
50: '#886ac9',
500: '#4a2fb1',
950: '#000000',
},
}SCSS
$custom: #4a2fb1; $custom-light: #886ac9; $custom-dark: #000000;
JSON
{
"hex": "#4a2fb1",
"rgb": {
"r": 74,
"g": 47,
"b": 177
},
"hsl": {
"h": 252.462,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.42588,
"c": 0.19252,
"h": 284.2
},
"luminance": 0.06663
}Semantic roles & 50–950 ramp
primary
#4A2FB1
secondary
#B5C576
accent
#E147C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82