#4C2FD2#4C2FD2
#4C2FD2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.231 H 280.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2FD2 |
|---|---|
| RGB | rgb(76, 47, 210) |
| HSL | hsl(251, 64%, 50%) |
| HSV | hsv(251, 78%, 82%) |
| CMYK | cmyk(63.8%, 77.6%, 0%, 17.6%) |
| CIE-LAB | lab(34.44, 56.50, -78.56) |
| CIE-LCH | lch(34.44, 96.76, 305.72°) |
| OKLab | oklab(46% 0.0417 -0.2267) |
| OKLCH | oklch(46% 0.231 280.4) |
| XYZ | xyz(15.6262, 8.2215, 61.7237) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.31
Purple Blue
#5D21D0
ΔE00 2.96
Blue With A Hint Of Purple
#533CC6
ΔE00 3.04
Purpley Blue
#5F34E7
ΔE00 4.09
Burple
#6832E3
ΔE00 4.55
Blue Violet
#5D06E9
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2FD2 #B5D22F
analogous
#2F63D2 #4C2FD2 #9E2FD2
triadic
#4C2FD2 #D24C2F #2FD24C
tetradic
#4C2FD2 #D22F63 #B5D22F #2FD29E
square
#4C2FD2 #D22F63 #B5D22F #2FD29E
split-complementary
#4C2FD2 #D29E2F #63D22F
monochromatic
#27186F #3923A1 #4C2FD2 #7761DD #A394E8
Accessibility & contrast
On white
7.94
#4C2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4C2FD2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2FD2
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2FD2 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#004BCF
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4c2fd2; /* rgb */ color: rgb(76, 47, 210); /* oklch */ color: oklch(46.0% 0.231 280.4);
Tailwind
colors: {
custom: {
50: '#8f6ce1',
500: '#4c2fd2',
950: '#000000',
},
}SCSS
$custom: #4c2fd2; $custom-light: #8f6ce1; $custom-dark: #000000;
JSON
{
"hex": "#4c2fd2",
"rgb": {
"r": 76,
"g": 47,
"b": 210
},
"hsl": {
"h": 250.675,
"s": 64.427,
"l": 50.392
},
"oklch": {
"l": 0.46001,
"c": 0.23056,
"h": 280.4
},
"luminance": 0.08223
}Semantic roles & 50–950 ramp
primary
#4C2FD2
secondary
#C6D38A
accent
#E740CA
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84