#45258F#45258F
#45258F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.163 H 290.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #45258F |
|---|---|
| RGB | rgb(69, 37, 143) |
| HSL | hsl(258, 59%, 35%) |
| HSV | hsv(258, 74%, 56%) |
| CMYK | cmyk(51.7%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(25.48, 41.00, -53.26) |
| CIE-LCH | lch(25.48, 67.22, 307.59°) |
| OKLab | oklab(37.57% 0.0559 -0.1529) |
| OKLCH | oklch(37.57% 0.163 290.1) |
| XYZ | xyz(8.0723, 4.5712, 26.4383) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.47
Indigo
#4B0082
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 6.00
Royal
#0C1793
ΔE00 6.42
Rebeccapurple
#663399
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45258F #6F8F25
analogous
#253A8F #45258F #7A258F
triadic
#45258F #8F4525 #258F45
tetradic
#45258F #8F253A #6F8F25 #258F7A
square
#45258F #8F253A #6F8F25 #258F7A
split-complementary
#45258F #8F7A25 #3A8F25
monochromatic
#160C2E #2E185E #45258F #5C32C0 #7F5AD4
Accessibility & contrast
On white
10.97
#45258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#45258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45258F
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45258F | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#2B4158
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #45258f; /* rgb */ color: rgb(69, 37, 143); /* oklch */ color: oklch(37.6% 0.163 290.1);
Tailwind
colors: {
custom: {
50: '#8163b1',
500: '#45258f',
950: '#000000',
},
}SCSS
$custom: #45258f; $custom-light: #8163b1; $custom-dark: #000000;
JSON
{
"hex": "#45258f",
"rgb": {
"r": 69,
"g": 37,
"b": 143
},
"hsl": {
"h": 258.113,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.37574,
"c": 0.16284,
"h": 290.1
},
"luminance": 0.04572
}Semantic roles & 50–950 ramp
primary
#45258F
secondary
#9BB957
accent
#E246B3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80