#45238F#45238F
#45238F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.165 H 290.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #45238F |
|---|---|
| RGB | rgb(69, 35, 143) |
| HSL | hsl(259, 61%, 35%) |
| HSV | hsv(259, 76%, 56%) |
| CMYK | cmyk(51.7%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.11, 42.05, -53.87) |
| CIE-LCH | lch(25.11, 68.33, 307.97°) |
| OKLab | oklab(37.31% 0.0577 -0.1547) |
| OKLCH | oklch(37.31% 0.165 290.4) |
| XYZ | xyz(8.0118, 4.4501, 26.4181) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.32
Indigo
#4B0082
ΔE00 5.46
Indigo (survey)
#380282
ΔE00 5.60
Royal
#0C1793
ΔE00 6.26
Rebeccapurple
#663399
ΔE00 6.82
Ultramarine
#2000B1
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45238F #6D8F23
analogous
#23378F #45238F #7B238F
triadic
#45238F #8F4523 #238F45
tetradic
#45238F #8F2337 #6D8F23 #238F7B
square
#45238F #8F2337 #6D8F23 #238F7B
split-complementary
#45238F #8F7B23 #378F23
monochromatic
#160B2D #2D175E #45238F #5D2FC0 #7F57D6
Accessibility & contrast
On white
11.11
#45238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#45238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45238F
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45238F | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2B4057
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #45238f; /* rgb */ color: rgb(69, 35, 143); /* oklch */ color: oklch(37.3% 0.165 290.4);
Tailwind
colors: {
custom: {
50: '#8162b1',
500: '#45238f',
950: '#000000',
},
}SCSS
$custom: #45238f; $custom-light: #8162b1; $custom-dark: #000000;
JSON
{
"hex": "#45238f",
"rgb": {
"r": 69,
"g": 35,
"b": 143
},
"hsl": {
"h": 258.889,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.37314,
"c": 0.1651,
"h": 290.4
},
"luminance": 0.0445
}Semantic roles & 50–950 ramp
primary
#45238F
secondary
#9ABA54
accent
#E444B1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980