#4D30C9#4D30C9
#4D30C9 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.219 H 281.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4D30C9 |
|---|---|
| RGB | rgb(77, 48, 201) |
| HSL | hsl(251, 61%, 49%) |
| HSV | hsv(251, 76%, 79%) |
| CMYK | cmyk(61.7%, 76.1%, 0%, 21.2%) |
| CIE-LAB | lab(33.79, 53.51, -74.40) |
| CIE-LCH | lch(33.79, 91.64, 305.73°) |
| OKLab | oklab(45.3% 0.045 -0.2146) |
| OKLCH | oklch(45.3% 0.219 281.8) |
| XYZ | xyz(14.6568, 7.9077, 56.0010) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.27
Blue With A Hint Of Purple
#533CC6
ΔE00 2.71
Purple Blue
#5D21D0
ΔE00 3.09
Bluey Purple
#6241C7
ΔE00 4.76
Violet Blue
#510AC9
ΔE00 4.85
Purpley Blue
#5F34E7
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D30C9 #ACC930
analogous
#305FC9 #4D30C9 #9A30C9
triadic
#4D30C9 #C94D30 #30C94D
tetradic
#4D30C9 #C9305F #ACC930 #30C99A
square
#4D30C9 #C9305F #ACC930 #30C99A
split-complementary
#4D30C9 #C99A30 #5FC930
monochromatic
#271866 #3A2498 #4D30C9 #755ED8 #9F8FE4
Accessibility & contrast
On white
8.13
#4D30C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#4D30C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D30C9
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D30C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D30C9 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#004AC6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4d30c9; /* rgb */ color: rgb(77, 48, 201); /* oklch */ color: oklch(45.3% 0.219 281.8);
Tailwind
colors: {
custom: {
50: '#8e6cdb',
500: '#4d30c9',
950: '#000000',
},
}SCSS
$custom: #4d30c9; $custom-light: #8e6cdb; $custom-dark: #000000;
JSON
{
"hex": "#4d30c9",
"rgb": {
"r": 77,
"g": 48,
"b": 201
},
"hsl": {
"h": 251.373,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.45299,
"c": 0.21926,
"h": 281.8
},
"luminance": 0.07909
}Semantic roles & 50–950 ramp
primary
#4D30C9
secondary
#C1CF86
accent
#E543C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83