#4C2FD8#4C2FD8
#4C2FD8 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.237 H 279.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2FD8 |
|---|---|
| RGB | rgb(76, 47, 216) |
| HSL | hsl(250, 68%, 52%) |
| HSV | hsv(250, 78%, 85%) |
| CMYK | cmyk(64.8%, 78.2%, 0%, 15.3%) |
| CIE-LAB | lab(35.06, 58.22, -81.01) |
| CIE-LCH | lch(35.06, 99.76, 305.71°) |
| OKLab | oklab(46.61% 0.0401 -0.2339) |
| OKLCH | oklch(46.61% 0.237 279.7) |
| XYZ | xyz(16.3877, 8.5261, 65.7345) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.46
Purple Blue
#5D21D0
ΔE00 3.13
Blue With A Hint Of Purple
#533CC6
ΔE00 3.31
Purpley Blue
#5F34E7
ΔE00 3.51
Burple
#6832E3
ΔE00 4.09
Light Royal Blue
#3A2EFE
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2FD8 #BBD82F
analogous
#2F67D8 #4C2FD8 #A12FD8
triadic
#4C2FD8 #D84C2F #2FD84C
tetradic
#4C2FD8 #D82F67 #BBD82F #2FD8A1
square
#4C2FD8 #D82F67 #BBD82F #2FD8A1
split-complementary
#4C2FD8 #D8A12F #67D82F
monochromatic
#271676 #3820AA #4C2FD8 #7863E2 #A596EB
Accessibility & contrast
On white
7.76
#4C2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#4C2FD8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2FD8
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2FD8 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059DD
Deuteranopia (green-blind)
#004CD5
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4c2fd8; /* rgb */ color: rgb(76, 47, 216); /* oklch */ color: oklch(46.6% 0.237 279.7);
Tailwind
colors: {
custom: {
50: '#906de6',
500: '#4c2fd8',
950: '#000000',
},
}SCSS
$custom: #4c2fd8; $custom-light: #906de6; $custom-dark: #000000;
JSON
{
"hex": "#4c2fd8",
"rgb": {
"r": 76,
"g": 47,
"b": 216
},
"hsl": {
"h": 250.296,
"s": 68.421,
"l": 51.569
},
"oklch": {
"l": 0.46612,
"c": 0.2373,
"h": 279.7
},
"luminance": 0.08527
}Semantic roles & 50–950 ramp
primary
#4C2FD8
secondary
#CAD78C
accent
#EB3DCD
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84