#4D18B4#4D18B4
#4D18B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.8% C 0.215 H 287.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4D18B4 |
|---|---|
| RGB | rgb(77, 24, 180) |
| HSL | hsl(260, 76%, 40%) |
| HSV | hsv(260, 87%, 71%) |
| CMYK | cmyk(57.2%, 86.7%, 0%, 29.4%) |
| CIE-LAB | lab(28.18, 57.73, -71.27) |
| CIE-LCH | lch(28.18, 91.72, 309.01°) |
| OKLab | oklab(40.78% 0.065 -0.2052) |
| OKLCH | oklch(40.78% 0.215 287.6) |
| XYZ | xyz(11.6230, 5.5257, 43.6253) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.37
Violet Blue
#510AC9
ΔE00 2.70
Purple Blue
#5D21D0
ΔE00 4.80
Ultramarine
#2000B1
ΔE00 5.25
True Blue
#010FCC
ΔE00 5.29
Mediumblue
#0000CD
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D18B4 #7FB418
analogous
#1831B4 #4D18B4 #9B18B4
triadic
#4D18B4 #B44D18 #18B44D
tetradic
#4D18B4 #B41831 #7FB418 #18B49B
square
#4D18B4 #B41831 #7FB418 #18B49B
split-complementary
#4D18B4 #B49B18 #31B418
monochromatic
#1F0A48 #36117E #4D18B4 #6727E2 #8D5DE9
Accessibility & contrast
On white
9.98
#4D18B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4D18B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D18B4
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D18B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D18B4 | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#1B4B6A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4d18b4; /* rgb */ color: rgb(77, 24, 180); /* oklch */ color: oklch(40.8% 0.215 287.6);
Tailwind
colors: {
custom: {
50: '#8c60cc',
500: '#4d18b4',
950: '#000000',
},
}SCSS
$custom: #4d18b4; $custom-light: #8c60cc; $custom-dark: #000000;
JSON
{
"hex": "#4d18b4",
"rgb": {
"r": 77,
"g": 24,
"b": 180
},
"hsl": {
"h": 260.385,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.40776,
"c": 0.21522,
"h": 287.6
},
"luminance": 0.05526
}Semantic roles & 50–950 ramp
primary
#4D18B4
secondary
#A6CD5B
accent
#F335B2
background
#F9F5FC
surface
#F2EAF9
border
#CCC6D2
text
#0D0514
muted
#7E7982