#4A366F#4A366F
#4A366F is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.096 H 297.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4A366F |
|---|---|
| RGB | rgb(74, 54, 111) |
| HSL | hsl(261, 35%, 32%) |
| HSV | hsv(261, 51%, 44%) |
| CMYK | cmyk(33.3%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(27.41, 22.58, -29.98) |
| CIE-LCH | lch(27.41, 37.53, 306.98°) |
| OKLab | oklab(38.35% 0.0448 -0.0844) |
| OKLCH | oklch(38.35% 0.096 297.9) |
| XYZ | xyz(7.0118, 5.2418, 15.6782) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.13
Blueberry
#464196
ΔE00 8.39
Rebeccapurple
#663399
ΔE00 9.15
Twilight
#4E518B
ΔE00 9.74
Dusk
#4E5481
ΔE00 10.64
Grape
#6C3461
ΔE00 11.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A366F #5B6F36
analogous
#363F6F #4A366F #67366F
triadic
#4A366F #6F4A36 #366F4A
tetradic
#4A366F #6F363F #5B6F36 #366F67
square
#4A366F #6F363F #5B6F36 #366F67
split-complementary
#4A366F #6F6736 #3F6F36
monochromatic
#130E1D #2F2246 #4A366F #654A98 #8469B6
Accessibility & contrast
On white
10.25
#4A366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4A366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A366F
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A366F | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#27406E
Tritanopia (blue-blind)
#42414D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a366f; /* rgb */ color: rgb(74, 54, 111); /* oklch */ color: oklch(38.3% 0.096 297.9);
Tailwind
colors: {
custom: {
50: '#7e6d99',
500: '#4a366f',
950: '#000000',
},
}SCSS
$custom: #4a366f; $custom-light: #7e6d99; $custom-dark: #000000;
JSON
{
"hex": "#4a366f",
"rgb": {
"r": 74,
"g": 54,
"b": 111
},
"hsl": {
"h": 261.053,
"s": 34.545,
"l": 32.353
},
"oklch": {
"l": 0.38349,
"c": 0.09556,
"h": 297.9
},
"luminance": 0.05242
}Semantic roles & 50–950 ramp
primary
#4A366F
secondary
#8A9F62
accent
#CB5DA4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070E
muted
#7C7A7E