#45259F#45259F
#45259F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.182 H 286.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #45259F |
|---|---|
| RGB | rgb(69, 37, 159) |
| HSL | hsl(256, 62%, 38%) |
| HSV | hsv(256, 77%, 62%) |
| CMYK | cmyk(56.6%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(26.99, 45.68, -60.60) |
| CIE-LCH | lch(26.99, 75.89, 307.01°) |
| OKLab | oklab(39.11% 0.0518 -0.1744) |
| OKLCH | oklch(39.11% 0.182 286.5) |
| XYZ | xyz(9.3719, 5.0910, 33.2830) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.41
Violet Blue
#510AC9
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.17
Royal
#0C1793
ΔE00 6.32
Cobalt Blue
#030AA7
ΔE00 6.54
Royal Blue (survey)
#0504AA
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45259F #7F9F25
analogous
#25429F #45259F #82259F
triadic
#45259F #9F4525 #259F45
tetradic
#45259F #9F2542 #7F9F25 #259F82
square
#45259F #9F2542 #7F9F25 #259F82
split-complementary
#45259F #9F8225 #429F25
monochromatic
#1A0E3C #2F196D #45259F #5B32CF #8364DB
Accessibility & contrast
On white
10.40
#45259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#45259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45259F
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45259F | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#1C4761
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #45259f; /* rgb */ color: rgb(69, 37, 159); /* oklch */ color: oklch(39.1% 0.182 286.5);
Tailwind
colors: {
custom: {
50: '#8363bc',
500: '#45259f',
950: '#000000',
},
}SCSS
$custom: #45259f; $custom-light: #8363bc; $custom-dark: #000000;
JSON
{
"hex": "#45259f",
"rgb": {
"r": 69,
"g": 37,
"b": 159
},
"hsl": {
"h": 255.738,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.39105,
"c": 0.18197,
"h": 286.5
},
"luminance": 0.05092
}Semantic roles & 50–950 ramp
primary
#45259F
secondary
#A7C05F
accent
#E542BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81