#45269E#45269E
#45269E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.180 H 286.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #45269E |
|---|---|
| RGB | rgb(69, 38, 158) |
| HSL | hsl(256, 61%, 38%) |
| HSV | hsv(256, 76%, 62%) |
| CMYK | cmyk(56.3%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(27.07, 44.88, -59.86) |
| CIE-LCH | lch(27.07, 74.82, 306.86°) |
| OKLab | oklab(39.13% 0.0513 -0.1723) |
| OKLCH | oklch(39.13% 0.18 286.6) |
| XYZ | xyz(9.3171, 5.1195, 32.8383) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Violet Blue
#510AC9
ΔE00 6.32
Royal
#0C1793
ΔE00 6.38
Ultramarine
#2000B1
ΔE00 6.38
Cobalt Blue
#030AA7
ΔE00 6.70
Rebeccapurple
#663399
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45269E #7F9E26
analogous
#26439E #45269E #81269E
triadic
#45269E #9E4526 #269E45
tetradic
#45269E #9E2643 #7F9E26 #269E81
square
#45269E #9E2643 #7F9E26 #269E81
split-complementary
#45269E #9E8126 #439E26
monochromatic
#1A0E3B #2F1A6D #45269E #5B33CE #8365DA
Accessibility & contrast
On white
10.38
#45269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#45269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45269E
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45269E | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#1D4760
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #45269e; /* rgb */ color: rgb(69, 38, 158); /* oklch */ color: oklch(39.1% 0.180 286.6);
Tailwind
colors: {
custom: {
50: '#8364bc',
500: '#45269e',
950: '#000000',
},
}SCSS
$custom: #45269e; $custom-light: #8364bc; $custom-dark: #000000;
JSON
{
"hex": "#45269e",
"rgb": {
"r": 69,
"g": 38,
"b": 158
},
"hsl": {
"h": 255.5,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.39132,
"c": 0.17976,
"h": 286.6
},
"luminance": 0.0512
}Semantic roles & 50–950 ramp
primary
#45269E
secondary
#A7C060
accent
#E443BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81