#45258E#45258E
#45258E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.162 H 290.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #45258E |
|---|---|
| RGB | rgb(69, 37, 142) |
| HSL | hsl(258, 59%, 35%) |
| HSV | hsv(258, 74%, 56%) |
| CMYK | cmyk(51.4%, 73.9%, 0%, 44.3%) |
| CIE-LAB | lab(25.38, 40.71, -52.79) |
| CIE-LCH | lch(25.38, 66.67, 307.64°) |
| OKLab | oklab(37.48% 0.0561 -0.1516) |
| OKLCH | oklch(37.48% 0.162 290.3) |
| XYZ | xyz(7.9969, 4.5410, 26.0411) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.62
Indigo
#4B0082
ΔE00 5.81
Indigo (survey)
#380282
ΔE00 5.97
Royal
#0C1793
ΔE00 6.47
Rebeccapurple
#663399
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45258E #6E8E25
analogous
#25398E #45258E #7A258E
triadic
#45258E #8E4525 #258E45
tetradic
#45258E #8E2539 #6E8E25 #258E7A
square
#45258E #8E2539 #6E8E25 #258E7A
split-complementary
#45258E #8E7A25 #398E25
monochromatic
#160C2D #2D185D #45258E #5D32BF #7F5AD4
Accessibility & contrast
On white
11.01
#45258E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#45258E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45258E
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45258E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45258E | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#2C4157
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #45258e; /* rgb */ color: rgb(69, 37, 142); /* oklch */ color: oklch(37.5% 0.162 290.3);
Tailwind
colors: {
custom: {
50: '#8063b0',
500: '#45258e',
950: '#000000',
},
}SCSS
$custom: #45258e; $custom-light: #8063b0; $custom-dark: #000000;
JSON
{
"hex": "#45258e",
"rgb": {
"r": 69,
"g": 37,
"b": 142
},
"hsl": {
"h": 258.286,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.37482,
"c": 0.16162,
"h": 290.3
},
"luminance": 0.04541
}Semantic roles & 50–950 ramp
primary
#45258E
secondary
#9BB956
accent
#E246B2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80