#45339E#45339E
#45339E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.165 H 284.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #45339E |
|---|---|
| RGB | rgb(69, 51, 158) |
| HSL | hsl(250, 51%, 41%) |
| HSV | hsv(250, 68%, 62%) |
| CMYK | cmyk(56.3%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(29.67, 37.69, -55.61) |
| CIE-LCH | lch(29.67, 67.18, 304.12°) |
| OKLab | oklab(40.98% 0.0402 -0.1599) |
| OKLCH | oklch(40.98% 0.165 284.1) |
| XYZ | xyz(9.8077, 6.1009, 33.0019) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.55
Darkslateblue
#483D8B
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 5.18
Indigo Blue
#3A18B1
ΔE00 6.04
Blue With A Hint Of Purple
#533CC6
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45339E #8C9E33
analogous
#33579E #45339E #7A339E
triadic
#45339E #9E4533 #339E45
tetradic
#45339E #9E3357 #8C9E33 #339E7A
square
#45339E #9E3357 #8C9E33 #339E7A
split-complementary
#45339E #9E7A33 #579E33
monochromatic
#1D1541 #312470 #45339E #5E4AC4 #8778D3
Accessibility & contrast
On white
9.46
#45339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#45339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45339E
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45339E | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#1B4E64
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #45339e; /* rgb */ color: rgb(69, 51, 158); /* oklch */ color: oklch(41.0% 0.165 284.1);
Tailwind
colors: {
custom: {
50: '#826cbc',
500: '#45339e',
950: '#000000',
},
}SCSS
$custom: #45339e; $custom-light: #826cbc; $custom-dark: #000000;
JSON
{
"hex": "#45339e",
"rgb": {
"r": 69,
"g": 51,
"b": 158
},
"hsl": {
"h": 250.093,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.40979,
"c": 0.16485,
"h": 284.1
},
"luminance": 0.06101
}Semantic roles & 50–950 ramp
primary
#45339E
secondary
#AFBC71
accent
#DB4DC3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81