#4A366A#4A366A
#4A366A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.0% C 0.088 H 300.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4A366A |
|---|---|
| RGB | rgb(74, 54, 106) |
| HSL | hsl(263, 33%, 31%) |
| HSV | hsv(263, 49%, 42%) |
| CMYK | cmyk(30.2%, 49.1%, 0%, 58.4%) |
| CIE-LAB | lab(27.12, 21.16, -27.25) |
| CIE-LCH | lch(27.12, 34.50, 307.82°) |
| OKLab | oklab(38.03% 0.0441 -0.0765) |
| OKLCH | oklch(38.03% 0.088 300) |
| XYZ | xyz(6.7441, 5.1347, 14.2687) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.32
Blueberry
#464196
ΔE00 9.54
Rebeccapurple
#663399
ΔE00 10.13
Twilight
#4E518B
ΔE00 10.27
Grape
#6C3461
ΔE00 10.48
Dusk
#4E5481
ΔE00 10.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A366A #566A36
analogous
#363C6A #4A366A #64366A
triadic
#4A366A #6A4A36 #366A4A
tetradic
#4A366A #6A363C #566A36 #366A64
square
#4A366A #6A363C #566A36 #366A64
split-complementary
#4A366A #6A6436 #3C6A36
monochromatic
#110D19 #2E2141 #4A366A #664B93 #8568B2
Accessibility & contrast
On white
10.36
#4A366A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4A366A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A366A
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A366A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A366A | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#2B4069
Tritanopia (blue-blind)
#443F4B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4a366a; /* rgb */ color: rgb(74, 54, 106); /* oklch */ color: oklch(38.0% 0.088 300.0);
Tailwind
colors: {
custom: {
50: '#7e6d95',
500: '#4a366a',
950: '#000000',
},
}SCSS
$custom: #4a366a; $custom-light: #7e6d95; $custom-dark: #000000;
JSON
{
"hex": "#4a366a",
"rgb": {
"r": 74,
"g": 54,
"b": 106
},
"hsl": {
"h": 263.077,
"s": 32.5,
"l": 31.373
},
"oklch": {
"l": 0.3803,
"c": 0.08827,
"h": 300
},
"luminance": 0.05135
}Semantic roles & 50–950 ramp
primary
#4A366A
secondary
#859B61
accent
#C95FA0
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A070D
muted
#7C7A7E