#45309E#45309E
#45309E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.169 H 284.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #45309E |
|---|---|
| RGB | rgb(69, 48, 158) |
| HSL | hsl(251, 53%, 40%) |
| HSV | hsv(251, 70%, 62%) |
| CMYK | cmyk(56.3%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(29.02, 39.44, -56.66) |
| CIE-LCH | lch(29.02, 69.03, 304.84°) |
| OKLab | oklab(40.52% 0.043 -0.163) |
| OKLCH | oklch(40.52% 0.169 284.8) |
| XYZ | xyz(9.6809, 5.8472, 32.9596) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45309E #899E30
analogous
#30529E #45309E #7C309E
triadic
#45309E #9E4530 #309E45
tetradic
#45309E #9E3052 #899E30 #309E7C
square
#45309E #9E3052 #899E30 #309E7C
split-complementary
#45309E #9E7C30 #529E30
monochromatic
#1C1340 #31226F #45309E #5E45C6 #8674D5
Accessibility & contrast
On white
9.68
#45309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#45309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45309E
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45309E | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#1C4D63
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #45309e; /* rgb */ color: rgb(69, 48, 158); /* oklch */ color: oklch(40.5% 0.169 284.8);
Tailwind
colors: {
custom: {
50: '#826abc',
500: '#45309e',
950: '#000000',
},
}SCSS
$custom: #45309e; $custom-light: #826abc; $custom-dark: #000000;
JSON
{
"hex": "#45309e",
"rgb": {
"r": 69,
"g": 48,
"b": 158
},
"hsl": {
"h": 251.455,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.40518,
"c": 0.16852,
"h": 284.8
},
"luminance": 0.05848
}Semantic roles & 50–950 ramp
primary
#45309E
secondary
#ADBD6D
accent
#DD4BC1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81