#45308F#45308F
#45308F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.149 H 287.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #45308F |
|---|---|
| RGB | rgb(69, 48, 143) |
| HSL | hsl(253, 50%, 37%) |
| HSV | hsv(253, 66%, 56%) |
| CMYK | cmyk(51.7%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(27.74, 34.77, -49.56) |
| CIE-LCH | lch(27.74, 60.54, 305.05°) |
| OKLab | oklab(39.2% 0.0451 -0.1421) |
| OKLCH | oklch(39.2% 0.149 287.6) |
| XYZ | xyz(8.4677, 5.3619, 26.5700) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.07
Blueberry
#464196
ΔE00 5.07
Rebeccapurple
#663399
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.88
Indigo Blue
#3A18B1
ΔE00 7.01
Ocean Blue
#4F42B5
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45308F #7A8F30
analogous
#304B8F #45308F #74308F
triadic
#45308F #8F4530 #308F45
tetradic
#45308F #8F304B #7A8F30 #308F74
square
#45308F #8F304B #7A8F30 #308F74
split-complementary
#45308F #8F7430 #4B8F30
monochromatic
#191133 #2F2161 #45308F #5B3FBD #816CCE
Accessibility & contrast
On white
10.13
#45308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#45308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45308F
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45308F | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#2A475B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #45308f; /* rgb */ color: rgb(69, 48, 143); /* oklch */ color: oklch(39.2% 0.149 287.6);
Tailwind
colors: {
custom: {
50: '#806ab1',
500: '#45308f',
950: '#000000',
},
}SCSS
$custom: #45308f; $custom-light: #806ab1; $custom-dark: #000000;
JSON
{
"hex": "#45308f",
"rgb": {
"r": 69,
"g": 48,
"b": 143
},
"hsl": {
"h": 253.263,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.39196,
"c": 0.1491,
"h": 287.6
},
"luminance": 0.05362
}Semantic roles & 50–950 ramp
primary
#45308F
secondary
#A3B566
accent
#D94FBB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80