#45396F#45396F
#45396F is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.090 H 291.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #45396F |
|---|---|
| RGB | rgb(69, 57, 111) |
| HSL | hsl(253, 32%, 33%) |
| HSV | hsv(253, 49%, 44%) |
| CMYK | cmyk(37.8%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(27.68, 19.15, -29.59) |
| CIE-LCH | lch(27.68, 35.24, 302.91°) |
| OKLab | oklab(38.42% 0.0334 -0.0834) |
| OKLCH | oklch(38.42% 0.09 291.8) |
| XYZ | xyz(6.7859, 5.3390, 15.7088) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.67
Blueberry
#464196
ΔE00 7.75
Twilight
#4E518B
ΔE00 8.48
Dusk
#4E5481
ΔE00 9.21
Rebeccapurple
#663399
ΔE00 10.24
Navy Blue
#1B2A4A
ΔE00 10.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45396F #636F39
analogous
#39486F #45396F #60396F
triadic
#45396F #6F4539 #396F45
tetradic
#45396F #6F3948 #636F39 #396F60
square
#45396F #6F3948 #636F39 #396F60
split-complementary
#45396F #6F6039 #486F39
monochromatic
#130F1E #2C2447 #45396F #5E4E97 #7E6EB4
Accessibility & contrast
On white
10.16
#45396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#45396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45396F
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45396F | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264271
Deuteranopia (green-blind)
#28406E
Tritanopia (blue-blind)
#3B434E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #45396f; /* rgb */ color: rgb(69, 57, 111); /* oklch */ color: oklch(38.4% 0.090 291.8);
Tailwind
colors: {
custom: {
50: '#7b6f98',
500: '#45396f',
950: '#000000',
},
}SCSS
$custom: #45396f; $custom-light: #7b6f98; $custom-dark: #000000;
JSON
{
"hex": "#45396f",
"rgb": {
"r": 69,
"g": 57,
"b": 111
},
"hsl": {
"h": 253.333,
"s": 32.143,
"l": 32.941
},
"oklch": {
"l": 0.38425,
"c": 0.08987,
"h": 291.8
},
"luminance": 0.05339
}Semantic roles & 50–950 ramp
primary
#45396F
secondary
#929E66
accent
#C85FB1
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070E
muted
#7B7A7E