#4A356B#4A356B
#4A356B is a dark, moderate violet. Relative luminance 0.051; OKLCH L 37.9% C 0.092 H 300.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4A356B |
|---|---|
| RGB | rgb(74, 53, 107) |
| HSL | hsl(263, 34%, 31%) |
| HSV | hsv(263, 50%, 42%) |
| CMYK | cmyk(30.8%, 50.5%, 0%, 58%) |
| CIE-LAB | lab(26.92, 22.08, -28.21) |
| CIE-LCH | lch(26.92, 35.82, 308.05°) |
| OKLab | oklab(37.9% 0.0458 -0.0792) |
| OKLCH | oklch(37.9% 0.092 300) |
| XYZ | xyz(6.7504, 5.0636, 14.5288) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.08
Blueberry
#464196
ΔE00 9.33
Rebeccapurple
#663399
ΔE00 9.76
Twilight
#4E518B
ΔE00 10.40
Grape
#6C3461
ΔE00 10.55
Dusk
#4E5481
ΔE00 11.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A356B #566B35
analogous
#353B6B #4A356B #65356B
triadic
#4A356B #6B4A35 #356B4A
tetradic
#4A356B #6B353B #566B35 #356B65
square
#4A356B #6B353B #566B35 #356B65
split-complementary
#4A356B #6B6535 #3B6B35
monochromatic
#110C19 #2E2142 #4A356B #664994 #8567B4
Accessibility & contrast
On white
10.43
#4A356B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4A356B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A356B
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A356B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A356B | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#293F6A
Tritanopia (blue-blind)
#433F4B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4a356b; /* rgb */ color: rgb(74, 53, 107); /* oklch */ color: oklch(37.9% 0.092 300.0);
Tailwind
colors: {
custom: {
50: '#7e6c95',
500: '#4a356b',
950: '#000000',
},
}SCSS
$custom: #4a356b; $custom-light: #7e6c95; $custom-dark: #000000;
JSON
{
"hex": "#4a356b",
"rgb": {
"r": 74,
"g": 53,
"b": 107
},
"hsl": {
"h": 263.333,
"s": 33.75,
"l": 31.373
},
"oklch": {
"l": 0.37899,
"c": 0.09152,
"h": 300
},
"luminance": 0.05064
}Semantic roles & 50–950 ramp
primary
#4A356B
secondary
#859C60
accent
#CA5EA0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E