#4C2FDA#4C2FDA
#4C2FDA is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.240 H 279.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2FDA |
|---|---|
| RGB | rgb(76, 47, 218) |
| HSL | hsl(250, 70%, 52%) |
| HSV | hsv(250, 78%, 85%) |
| CMYK | cmyk(65.1%, 78.4%, 0%, 14.5%) |
| CIE-LAB | lab(35.26, 58.80, -81.82) |
| CIE-LCH | lch(35.26, 100.75, 305.70°) |
| OKLab | oklab(46.82% 0.0395 -0.2362) |
| OKLCH | oklch(46.82% 0.24 279.5) |
| XYZ | xyz(16.6479, 8.6301, 67.1045) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.55
Purple Blue
#5D21D0
ΔE00 3.23
Purpley Blue
#5F34E7
ΔE00 3.33
Blue With A Hint Of Purple
#533CC6
ΔE00 3.42
Burple
#6832E3
ΔE00 3.96
Light Royal Blue
#3A2EFE
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2FDA #BDDA2F
analogous
#2F68DA #4C2FDA #A12FDA
triadic
#4C2FDA #DA4C2F #2FDA4C
tetradic
#4C2FDA #DA2F68 #BDDA2F #2FDAA1
square
#4C2FDA #DA2F68 #BDDA2F #2FDAA1
split-complementary
#4C2FDA #DAA12F #68DA2F
monochromatic
#261679 #371FAD #4C2FDA #7963E3 #A597EC
Accessibility & contrast
On white
7.70
#4C2FDA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#4C2FDA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2FDA
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2FDA | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059DF
Deuteranopia (green-blind)
#004CD7
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4c2fda; /* rgb */ color: rgb(76, 47, 218); /* oklch */ color: oklch(46.8% 0.240 279.5);
Tailwind
colors: {
custom: {
50: '#916de7',
500: '#4c2fda',
950: '#000000',
},
}SCSS
$custom: #4c2fda; $custom-light: #916de7; $custom-dark: #000000;
JSON
{
"hex": "#4c2fda",
"rgb": {
"r": 76,
"g": 47,
"b": 218
},
"hsl": {
"h": 250.175,
"s": 69.796,
"l": 51.961
},
"oklch": {
"l": 0.46817,
"c": 0.23953,
"h": 279.5
},
"luminance": 0.08631
}Semantic roles & 50–950 ramp
primary
#4C2FDA
secondary
#CBD88D
accent
#ED3BCF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84