#4C1B9F#4C1B9F
#4C1B9F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.191 H 291.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1B9F |
|---|---|
| RGB | rgb(76, 27, 159) |
| HSL | hsl(262, 71%, 36%) |
| HSV | hsv(262, 83%, 62%) |
| CMYK | cmyk(52.2%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(26.23, 51.08, -61.84) |
| CIE-LCH | lch(26.23, 80.20, 309.56°) |
| OKLab | oklab(38.75% 0.0698 -0.1777) |
| OKLCH | oklch(38.75% 0.191 291.4) |
| XYZ | xyz(9.6286, 4.8232, 33.2178) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.40
Violet Blue
#510AC9
ΔE00 5.51
Indigo
#4B0082
ΔE00 5.53
Ultramarine
#2000B1
ΔE00 5.73
Indigo (survey)
#380282
ΔE00 6.03
Cobalt Blue
#030AA7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1B9F #6E9F1B
analogous
#1B2C9F #4C1B9F #8E1B9F
triadic
#4C1B9F #9F4C1B #1B9F4C
tetradic
#4C1B9F #9F1B2C #6E9F1B #1B9F8E
square
#4C1B9F #9F1B2C #6E9F1B #1B9F8E
split-complementary
#4C1B9F #9F8E1B #2C9F1B
monochromatic
#1A0936 #33126B #4C1B9F #6524D3 #8853E2
Accessibility & contrast
On white
10.69
#4C1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4C1B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1B9F
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1B9F | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#2F435F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c1b9f; /* rgb */ color: rgb(76, 27, 159); /* oklch */ color: oklch(38.8% 0.191 291.4);
Tailwind
colors: {
custom: {
50: '#885fbd',
500: '#4c1b9f',
950: '#000000',
},
}SCSS
$custom: #4c1b9f; $custom-light: #885fbd; $custom-dark: #000000;
JSON
{
"hex": "#4c1b9f",
"rgb": {
"r": 76,
"g": 27,
"b": 159
},
"hsl": {
"h": 262.273,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.38752,
"c": 0.19092,
"h": 291.4
},
"luminance": 0.04824
}Semantic roles & 50–950 ramp
primary
#4C1B9F
secondary
#9AC551
accent
#EE3AAB
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981