#4E30CF#4E30CF
#4E30CF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.226 H 281.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E30CF |
|---|---|
| RGB | rgb(78, 48, 207) |
| HSL | hsl(251, 62%, 50%) |
| HSV | hsv(251, 77%, 81%) |
| CMYK | cmyk(62.3%, 76.8%, 0%, 18.8%) |
| CIE-LAB | lab(34.47, 55.37, -76.76) |
| CIE-LCH | lch(34.47, 94.64, 305.80°) |
| OKLab | oklab(45.98% 0.0448 -0.2215) |
| OKLCH | oklch(45.98% 0.226 281.4) |
| XYZ | xyz(15.4578, 8.2375, 59.7948) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.04
Blue With A Hint Of Purple
#533CC6
ΔE00 2.73
Purple Blue
#5D21D0
ΔE00 2.92
Purpley Blue
#5F34E7
ΔE00 4.18
Burple
#6832E3
ΔE00 4.56
Bluey Purple
#6241C7
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E30CF #B1CF30
analogous
#3061CF #4E30CF #9E30CF
triadic
#4E30CF #CF4E30 #30CF4E
tetradic
#4E30CF #CF3061 #B1CF30 #30CF9E
square
#4E30CF #CF3061 #B1CF30 #30CF9E
split-complementary
#4E30CF #CF9E30 #61CF30
monochromatic
#29196C #3B249D #4E30CF #7862DB #A393E6
Accessibility & contrast
On white
7.93
#4E30CF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#4E30CF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E30CF
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E30CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E30CF | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056D3
Deuteranopia (green-blind)
#004BCC
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e30cf; /* rgb */ color: rgb(78, 48, 207); /* oklch */ color: oklch(46.0% 0.226 281.4);
Tailwind
colors: {
custom: {
50: '#8f6ddf',
500: '#4e30cf',
950: '#000000',
},
}SCSS
$custom: #4e30cf; $custom-light: #8f6ddf; $custom-dark: #000000;
JSON
{
"hex": "#4e30cf",
"rgb": {
"r": 78,
"g": 48,
"b": 207
},
"hsl": {
"h": 251.321,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.45976,
"c": 0.22595,
"h": 281.4
},
"luminance": 0.08239
}Semantic roles & 50–950 ramp
primary
#4E30CF
secondary
#C4D18A
accent
#E542C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83