#4C30B2#4C30B2
#4C30B2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.192 H 284.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4C30B2 |
|---|---|
| RGB | rgb(76, 48, 178) |
| HSL | hsl(253, 58%, 44%) |
| HSV | hsv(253, 73%, 70%) |
| CMYK | cmyk(57.3%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(31.50, 46.60, -64.62) |
| CIE-LCH | lch(31.50, 79.67, 305.80°) |
| OKLab | oklab(42.99% 0.0491 -0.186) |
| OKLCH | oklch(42.99% 0.192 284.8) |
| XYZ | xyz(12.0709, 6.8640, 42.7997) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.14
Blurple
#5539CC
ΔE00 4.41
Ocean Blue
#4F42B5
ΔE00 4.57
Indigo Blue
#3A18B1
ΔE00 4.91
Purple Blue
#5D21D0
ΔE00 4.92
Violet Blue
#510AC9
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C30B2 #96B230
analogous
#3055B2 #4C30B2 #8D30B2
triadic
#4C30B2 #B24C30 #30B24C
tetradic
#4C30B2 #B23055 #96B230 #30B28D
square
#4C30B2 #B23055 #96B230 #30B28D
split-complementary
#4C30B2 #B28D30 #55B230
monochromatic
#231652 #372382 #4C30B2 #6B50D0 #9480DD
Accessibility & contrast
On white
8.85
#4C30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#4C30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C30B2
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C30B2 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#18536E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4c30b2; /* rgb */ color: rgb(76, 48, 178); /* oklch */ color: oklch(43.0% 0.192 284.8);
Tailwind
colors: {
custom: {
50: '#896bca',
500: '#4c30b2',
950: '#000000',
},
}SCSS
$custom: #4c30b2; $custom-light: #896bca; $custom-dark: #000000;
JSON
{
"hex": "#4c30b2",
"rgb": {
"r": 76,
"g": 48,
"b": 178
},
"hsl": {
"h": 252.923,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.42994,
"c": 0.19242,
"h": 284.8
},
"luminance": 0.06865
}Semantic roles & 50–950 ramp
primary
#4C30B2
secondary
#B5C678
accent
#E147C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82