#4A186E#4A186E
#4A186E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.141 H 306.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4A186E |
|---|---|
| RGB | rgb(74, 24, 110) |
| HSL | hsl(275, 64%, 26%) |
| HSV | hsv(275, 78%, 43%) |
| CMYK | cmyk(32.7%, 78.2%, 0%, 56.9%) |
| CIE-LAB | lab(20.96, 39.38, -39.70) |
| CIE-LCH | lch(20.96, 55.92, 314.76°) |
| OKLab | oklab(33.63% 0.084 -0.1128) |
| OKLCH | oklch(33.63% 0.141 306.7) |
| XYZ | xyz(5.9645, 3.2350, 15.0590) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.15
Indigo
#4B0082
ΔE00 4.73
Indigo (survey)
#380282
ΔE00 6.33
Plum Purple
#4E0550
ΔE00 7.24
Dark Indigo
#1F0954
ΔE00 8.28
Deep Violet
#490648
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A186E #3C6E18
analogous
#1F186E #4A186E #6E1867
triadic
#4A186E #6E4A18 #186E4A
tetradic
#4A186E #6E1F18 #3C6E18 #18676E
square
#4A186E #6E1F18 #3C6E18 #18676E
split-complementary
#4A186E #676E18 #186E1F
monochromatic
#110519 #280D3C #4A186E #6C23A0 #8D2FD2
Accessibility & contrast
On white
12.75
#4A186E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#4A186E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A186E
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A186E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A186E | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#442D42
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #4a186e; /* rgb */ color: rgb(74, 24, 110); /* oklch */ color: oklch(33.6% 0.141 306.7);
Tailwind
colors: {
custom: {
50: '#815b98',
500: '#4a186e',
950: '#000000',
},
}SCSS
$custom: #4a186e; $custom-light: #815b98; $custom-dark: #000000;
JSON
{
"hex": "#4a186e",
"rgb": {
"r": 74,
"g": 24,
"b": 110
},
"hsl": {
"h": 274.884,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.3363,
"c": 0.14067,
"h": 306.7
},
"luminance": 0.03235
}Semantic roles & 50–950 ramp
primary
#4A186E
secondary
#69A43E
accent
#E74186
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E