#4C2EDF#4C2EDF
#4C2EDF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.246 H 279.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2EDF |
|---|---|
| RGB | rgb(76, 46, 223) |
| HSL | hsl(250, 73%, 53%) |
| HSV | hsv(250, 79%, 87%) |
| CMYK | cmyk(65.9%, 79.4%, 0%, 12.5%) |
| CIE-LAB | lab(35.63, 60.67, -84.08) |
| CIE-LCH | lch(35.63, 103.69, 305.81°) |
| OKLab | oklab(47.23% 0.0386 -0.2428) |
| OKLCH | oklch(47.23% 0.246 279) |
| XYZ | xyz(17.2725, 8.8168, 70.5893) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.95
Purpley Blue
#5F34E7
ΔE00 3.01
Purple Blue
#5D21D0
ΔE00 3.40
Light Royal Blue
#3A2EFE
ΔE00 3.53
Burple
#6832E3
ΔE00 3.72
Blue With A Hint Of Purple
#533CC6
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2EDF #C1DF2E
analogous
#2E69DF #4C2EDF #A42EDF
triadic
#4C2EDF #DF4C2E #2EDF4C
tetradic
#4C2EDF #DF2E69 #C1DF2E #2EDFA4
square
#4C2EDF #DF2E69 #C1DF2E #2EDFA4
split-complementary
#4C2EDF #DFA42E #69DF2E
monochromatic
#26137F #351CB4 #4C2EDF #7963E7 #A798EF
Accessibility & contrast
On white
7.60
#4C2EDF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#4C2EDF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2EDF
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2EDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2EDF | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE4
Deuteranopia (green-blind)
#004DDC
Tritanopia (blue-blind)
#006487
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4c2edf; /* rgb */ color: rgb(76, 46, 223); /* oklch */ color: oklch(47.2% 0.246 279.0);
Tailwind
colors: {
custom: {
50: '#926deb',
500: '#4c2edf',
950: '#000000',
},
}SCSS
$custom: #4c2edf; $custom-light: #926deb; $custom-dark: #000000;
JSON
{
"hex": "#4c2edf",
"rgb": {
"r": 76,
"g": 46,
"b": 223
},
"hsl": {
"h": 250.169,
"s": 73.444,
"l": 52.745
},
"oklch": {
"l": 0.47226,
"c": 0.24587,
"h": 279
},
"luminance": 0.08818
}Semantic roles & 50–950 ramp
primary
#4C2EDF
secondary
#CEDB8E
accent
#F038D1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84