#4B366E#4B366E
#4B366E is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.094 H 299.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4B366E |
|---|---|
| RGB | rgb(75, 54, 110) |
| HSL | hsl(263, 34%, 32%) |
| HSV | hsv(263, 51%, 43%) |
| CMYK | cmyk(31.8%, 50.9%, 0%, 56.9%) |
| CIE-LAB | lab(27.46, 22.59, -29.25) |
| CIE-LCH | lch(27.46, 36.96, 307.67°) |
| OKLab | oklab(38.39% 0.046 -0.0823) |
| OKLCH | oklch(38.39% 0.094 299.2) |
| XYZ | xyz(7.0346, 5.2599, 15.3935) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.49
Blueberry
#464196
ΔE00 8.74
Rebeccapurple
#663399
ΔE00 9.25
Twilight
#4E518B
ΔE00 9.94
Grape
#6C3461
ΔE00 10.75
Dusk
#4E5481
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B366E #596E36
analogous
#363D6E #4B366E #67366E
triadic
#4B366E #6E4B36 #366E4B
tetradic
#4B366E #6E363D #596E36 #366E67
square
#4B366E #6E363D #596E36 #366E67
split-complementary
#4B366E #6E6736 #3D6E36
monochromatic
#130E1C #2F2245 #4B366E #674A97 #8669B5
Accessibility & contrast
On white
10.23
#4B366E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4B366E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B366E
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B366E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B366E | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#29406D
Tritanopia (blue-blind)
#44404C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4b366e; /* rgb */ color: rgb(75, 54, 110); /* oklch */ color: oklch(38.4% 0.094 299.2);
Tailwind
colors: {
custom: {
50: '#7f6d98',
500: '#4b366e',
950: '#000000',
},
}SCSS
$custom: #4b366e; $custom-light: #7f6d98; $custom-dark: #000000;
JSON
{
"hex": "#4b366e",
"rgb": {
"r": 75,
"g": 54,
"b": 110
},
"hsl": {
"h": 262.5,
"s": 34.146,
"l": 32.157
},
"oklch": {
"l": 0.38393,
"c": 0.09428,
"h": 299.2
},
"luminance": 0.0526
}Semantic roles & 50–950 ramp
primary
#4B366E
secondary
#879E62
accent
#CA5EA1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E