#45346E#45346E
#45346E is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.097 H 294.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #45346E |
|---|---|
| RGB | rgb(69, 52, 110) |
| HSL | hsl(258, 36%, 32%) |
| HSV | hsv(258, 53%, 43%) |
| CMYK | cmyk(37.3%, 52.7%, 0%, 56.9%) |
| CIE-LAB | lab(26.29, 22.13, -31.15) |
| CIE-LCH | lch(26.29, 38.21, 305.38°) |
| OKLab | oklab(37.37% 0.0406 -0.088) |
| OKLCH | oklch(37.37% 0.097 294.8) |
| XYZ | xyz(6.4960, 4.8469, 15.3421) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.89
Blueberry
#464196
ΔE00 8.15
Rebeccapurple
#663399
ΔE00 9.56
Twilight
#4E518B
ΔE00 9.90
Midnight Blue
#191970
ΔE00 10.19
Dusk
#4E5481
ΔE00 10.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45346E #5D6E34
analogous
#34406E #45346E #62346E
triadic
#45346E #6E4534 #346E45
tetradic
#45346E #6E3440 #5D6E34 #346E62
square
#45346E #6E3440 #5D6E34 #346E62
split-complementary
#45346E #6E6234 #406E34
monochromatic
#110D1B #2B2044 #45346E #5F4898 #7D66B7
Accessibility & contrast
On white
10.66
#45346E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#45346E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45346E
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45346E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45346E | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#223D6D
Tritanopia (blue-blind)
#3B3F4C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #45346e; /* rgb */ color: rgb(69, 52, 110); /* oklch */ color: oklch(37.4% 0.097 294.8);
Tailwind
colors: {
custom: {
50: '#7b6c98',
500: '#45346e',
950: '#000000',
},
}SCSS
$custom: #45346e; $custom-light: #7b6c98; $custom-dark: #000000;
JSON
{
"hex": "#45346e",
"rgb": {
"r": 69,
"g": 52,
"b": 110
},
"hsl": {
"h": 257.586,
"s": 35.802,
"l": 31.765
},
"oklch": {
"l": 0.37366,
"c": 0.09694,
"h": 294.8
},
"luminance": 0.04847
}Semantic roles & 50–950 ramp
primary
#45346E
secondary
#8C9F5F
accent
#CC5CAB
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070D
muted
#7B7A7E