#45339F#45339F
#45339F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.166 H 283.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #45339F |
|---|---|
| RGB | rgb(69, 51, 159) |
| HSL | hsl(250, 51%, 41%) |
| HSV | hsv(250, 68%, 62%) |
| CMYK | cmyk(56.6%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.75, 38.00, -56.08) |
| CIE-LCH | lch(29.75, 67.74, 304.12°) |
| OKLab | oklab(41.07% 0.0401 -0.1612) |
| OKLCH | oklch(41.07% 0.166 283.9) |
| XYZ | xyz(9.8942, 6.1355, 33.4571) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.61
Darkslateblue
#483D8B
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.08
Sapphire (survey)
#2138AB
ΔE00 5.12
Indigo Blue
#3A18B1
ΔE00 5.97
Blue With A Hint Of Purple
#533CC6
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45339F #8D9F33
analogous
#33579F #45339F #7B339F
triadic
#45339F #9F4533 #339F45
tetradic
#45339F #9F3357 #8D9F33 #339F7B
square
#45339F #9F3357 #8D9F33 #339F7B
split-complementary
#45339F #9F7B33 #579F33
monochromatic
#1D1542 #312471 #45339F #5F4AC5 #8879D4
Accessibility & contrast
On white
9.43
#45339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#45339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45339F
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45339F | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#1A4F64
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #45339f; /* rgb */ color: rgb(69, 51, 159); /* oklch */ color: oklch(41.1% 0.166 283.9);
Tailwind
colors: {
custom: {
50: '#826cbc',
500: '#45339f',
950: '#000000',
},
}SCSS
$custom: #45339f; $custom-light: #826cbc; $custom-dark: #000000;
JSON
{
"hex": "#45339f",
"rgb": {
"r": 69,
"g": 51,
"b": 159
},
"hsl": {
"h": 250,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.41068,
"c": 0.16615,
"h": 283.9
},
"luminance": 0.06136
}Semantic roles & 50–950 ramp
primary
#45339F
secondary
#B0BC71
accent
#DB4DC3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0712
muted
#7C7A81