#45396C#45396C
#45396C is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.2% C 0.085 H 292.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #45396C |
|---|---|
| RGB | rgb(69, 57, 108) |
| HSL | hsl(254, 31%, 32%) |
| HSV | hsv(254, 47%, 42%) |
| CMYK | cmyk(36.1%, 47.2%, 0%, 57.6%) |
| CIE-LAB | lab(27.50, 18.25, -27.95) |
| CIE-LCH | lch(27.50, 33.38, 303.14°) |
| OKLab | oklab(38.23% 0.033 -0.0786) |
| OKLCH | oklch(38.23% 0.085 292.7) |
| XYZ | xyz(6.6234, 5.2740, 14.8535) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.42
Blueberry
#464196
ΔE00 8.46
Twilight
#4E518B
ΔE00 8.79
Dusk
#4E5481
ΔE00 9.31
Navy Blue
#1B2A4A
ΔE00 10.69
Rebeccapurple
#663399
ΔE00 10.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45396C #606C39
analogous
#39466C #45396C #5F396C
triadic
#45396C #6C4539 #396C45
tetradic
#45396C #6C3946 #606C39 #396C5F
square
#45396C #6C3946 #606C39 #396C5F
split-complementary
#45396C #6C5F39 #466C39
monochromatic
#120F1C #2B2444 #45396C #5F4E94 #7D6DB2
Accessibility & contrast
On white
10.22
#45396C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#45396C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45396C
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45396C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45396C | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28426E
Deuteranopia (green-blind)
#2A406B
Tritanopia (blue-blind)
#3C434D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #45396c; /* rgb */ color: rgb(69, 57, 108); /* oklch */ color: oklch(38.2% 0.085 292.7);
Tailwind
colors: {
custom: {
50: '#7b6f96',
500: '#45396c',
950: '#000000',
},
}SCSS
$custom: #45396c; $custom-light: #7b6f96; $custom-dark: #000000;
JSON
{
"hex": "#45396c",
"rgb": {
"r": 69,
"g": 57,
"b": 108
},
"hsl": {
"h": 254.118,
"s": 30.909,
"l": 32.353
},
"oklch": {
"l": 0.38233,
"c": 0.08528,
"h": 292.7
},
"luminance": 0.05274
}Semantic roles & 50–950 ramp
primary
#45396C
secondary
#8F9C65
accent
#C761AF
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070D
muted
#7B7A7E