#45309F#45309F
#45309F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.170 H 284.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #45309F |
|---|---|
| RGB | rgb(69, 48, 159) |
| HSL | hsl(251, 54%, 41%) |
| HSV | hsv(251, 70%, 62%) |
| CMYK | cmyk(56.6%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(29.11, 39.75, -57.12) |
| CIE-LCH | lch(29.11, 69.59, 304.83°) |
| OKLab | oklab(40.61% 0.0428 -0.1643) |
| OKLCH | oklch(40.61% 0.17 284.6) |
| XYZ | xyz(9.7673, 5.8817, 33.4148) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.29
Blueberry
#464196
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 5.65
Rebeccapurple
#663399
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45309F #8A9F30
analogous
#30539F #45309F #7C309F
triadic
#45309F #9F4530 #309F45
tetradic
#45309F #9F3053 #8A9F30 #309F7C
square
#45309F #9F3053 #8A9F30 #309F7C
split-complementary
#45309F #9F7C30 #539F30
monochromatic
#1C1441 #312270 #45309F #5E45C7 #8774D5
Accessibility & contrast
On white
9.65
#45309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#45309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45309F
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45309F | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#1A4D63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #45309f; /* rgb */ color: rgb(69, 48, 159); /* oklch */ color: oklch(40.6% 0.170 284.6);
Tailwind
colors: {
custom: {
50: '#826abc',
500: '#45309f',
950: '#000000',
},
}SCSS
$custom: #45309f; $custom-light: #826abc; $custom-dark: #000000;
JSON
{
"hex": "#45309f",
"rgb": {
"r": 69,
"g": 48,
"b": 159
},
"hsl": {
"h": 251.351,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.40608,
"c": 0.16979,
"h": 284.6
},
"luminance": 0.05882
}Semantic roles & 50–950 ramp
primary
#45309F
secondary
#AEBD6E
accent
#DD4BC1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81