#4C2F86#4C2F86
#4C2F86 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.139 H 294.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2F86 |
|---|---|
| RGB | rgb(76, 47, 134) |
| HSL | hsl(260, 48%, 35%) |
| HSV | hsv(260, 65%, 53%) |
| CMYK | cmyk(43.3%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(27.55, 34.12, -44.26) |
| CIE-LCH | lch(27.55, 55.88, 307.62°) |
| OKLab | oklab(39.01% 0.0573 -0.1263) |
| OKLCH | oklch(39.01% 0.139 294.4) |
| XYZ | xyz(8.2989, 5.2906, 23.1336) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.52
Rebeccapurple
#663399
ΔE00 5.37
Blueberry
#464196
ΔE00 6.25
Indigo
#4B0082
ΔE00 7.81
Indigo Blue
#3A18B1
ΔE00 8.48
Indigo (survey)
#380282
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2F86 #69862F
analogous
#2F3D86 #4C2F86 #772F86
triadic
#4C2F86 #864C2F #2F864C
tetradic
#4C2F86 #862F3D #69862F #2F8677
square
#4C2F86 #862F3D #69862F #2F8677
split-complementary
#4C2F86 #86772F #3D862F
monochromatic
#190F2B #321F59 #4C2F86 #663FB3 #8766C9
Accessibility & contrast
On white
10.20
#4C2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4C2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2F86
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2F86 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#3D4356
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c2f86; /* rgb */ color: rgb(76, 47, 134); /* oklch */ color: oklch(39.0% 0.139 294.4);
Tailwind
colors: {
custom: {
50: '#8369aa',
500: '#4c2f86',
950: '#000000',
},
}SCSS
$custom: #4c2f86; $custom-light: #8369aa; $custom-dark: #000000;
JSON
{
"hex": "#4c2f86",
"rgb": {
"r": 76,
"g": 47,
"b": 134
},
"hsl": {
"h": 260,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.39006,
"c": 0.13868,
"h": 294.4
},
"luminance": 0.05291
}Semantic roles & 50–950 ramp
primary
#4C2F86
secondary
#96B060
accent
#D850AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F