#45249F#45249F
#45249F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.183 H 286.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #45249F |
|---|---|
| RGB | rgb(69, 36, 159) |
| HSL | hsl(256, 63%, 38%) |
| HSV | hsv(256, 77%, 62%) |
| CMYK | cmyk(56.6%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.82, 46.18, -60.89) |
| CIE-LCH | lch(26.82, 76.42, 307.18°) |
| OKLab | oklab(38.98% 0.0526 -0.1753) |
| OKLCH | oklch(38.98% 0.183 286.7) |
| XYZ | xyz(9.3413, 5.0296, 33.2728) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.30
Ultramarine
#2000B1
ΔE00 6.02
Violet Blue
#510AC9
ΔE00 6.04
Royal
#0C1793
ΔE00 6.24
Cobalt Blue
#030AA7
ΔE00 6.41
Royal Blue (survey)
#0504AA
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45249F #7E9F24
analogous
#24409F #45249F #82249F
triadic
#45249F #9F4524 #249F45
tetradic
#45249F #9F2440 #7E9F24 #249F82
square
#45249F #9F2440 #7E9F24 #249F82
split-complementary
#45249F #9F8224 #409F24
monochromatic
#1A0D3B #2F196D #45249F #5B30D0 #8362DB
Accessibility & contrast
On white
10.47
#45249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#45249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45249F
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45249F | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#1C4760
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #45249f; /* rgb */ color: rgb(69, 36, 159); /* oklch */ color: oklch(39.0% 0.183 286.7);
Tailwind
colors: {
custom: {
50: '#8363bc',
500: '#45249f',
950: '#000000',
},
}SCSS
$custom: #45249f; $custom-light: #8363bc; $custom-dark: #000000;
JSON
{
"hex": "#45249f",
"rgb": {
"r": 69,
"g": 36,
"b": 159
},
"hsl": {
"h": 256.098,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.38984,
"c": 0.18297,
"h": 286.7
},
"luminance": 0.0503
}Semantic roles & 50–950 ramp
primary
#45249F
secondary
#A6C15E
accent
#E642BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81