#4C2BB2#4C2BB2
#4C2BB2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.198 H 285.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2BB2 |
|---|---|
| RGB | rgb(76, 43, 178) |
| HSL | hsl(255, 61%, 43%) |
| HSV | hsv(255, 76%, 70%) |
| CMYK | cmyk(57.3%, 75.8%, 0%, 30.2%) |
| CIE-LAB | lab(30.59, 49.17, -66.11) |
| CIE-LCH | lch(30.59, 82.39, 306.64°) |
| OKLab | oklab(42.35% 0.0529 -0.1904) |
| OKLCH | oklch(42.35% 0.198 285.5) |
| XYZ | xyz(11.8778, 6.4779, 42.7353) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.99
Violet Blue
#510AC9
ΔE00 4.57
Purple Blue
#5D21D0
ΔE00 4.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.94
Blurple
#5539CC
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2BB2 #91B22B
analogous
#2B4DB2 #4C2BB2 #8F2BB2
triadic
#4C2BB2 #B24C2B #2BB24C
tetradic
#4C2BB2 #B22B4D #91B22B #2BB28F
square
#4C2BB2 #B22B4D #91B22B #2BB28F
split-complementary
#4C2BB2 #B28F2B #4DB22B
monochromatic
#22134F #371F81 #4C2BB2 #6A48D3 #9279DF
Accessibility & contrast
On white
9.15
#4C2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#4C2BB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2BB2
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2BB2 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#18516D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4c2bb2; /* rgb */ color: rgb(76, 43, 178); /* oklch */ color: oklch(42.4% 0.198 285.5);
Tailwind
colors: {
custom: {
50: '#8a68ca',
500: '#4c2bb2',
950: '#000000',
},
}SCSS
$custom: #4c2bb2; $custom-light: #8a68ca; $custom-dark: #000000;
JSON
{
"hex": "#4c2bb2",
"rgb": {
"r": 76,
"g": 43,
"b": 178
},
"hsl": {
"h": 254.667,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.42354,
"c": 0.19758,
"h": 285.5
},
"luminance": 0.06479
}Semantic roles & 50–950 ramp
primary
#4C2BB2
secondary
#B2C772
accent
#E444BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82