#45269F#45269F
#45269F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.181 H 286.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #45269F |
|---|---|
| RGB | rgb(69, 38, 159) |
| HSL | hsl(255, 61%, 39%) |
| HSV | hsv(255, 76%, 62%) |
| CMYK | cmyk(56.6%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(27.17, 45.18, -60.31) |
| CIE-LCH | lch(27.17, 75.35, 306.84°) |
| OKLab | oklab(39.23% 0.0511 -0.1736) |
| OKLCH | oklch(39.23% 0.181 286.4) |
| XYZ | xyz(9.4035, 5.1541, 33.2935) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.54
Violet Blue
#510AC9
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.32
Royal
#0C1793
ΔE00 6.40
Cobalt Blue
#030AA7
ΔE00 6.67
Rebeccapurple
#663399
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45269F #809F26
analogous
#26439F #45269F #81269F
triadic
#45269F #9F4526 #269F45
tetradic
#45269F #9F2643 #809F26 #269F81
square
#45269F #9F2643 #809F26 #269F81
split-complementary
#45269F #9F8126 #439F26
monochromatic
#1A0E3C #301A6E #45269F #5B34CE #8365DA
Accessibility & contrast
On white
10.34
#45269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#45269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45269F
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45269F | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#1B4861
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #45269f; /* rgb */ color: rgb(69, 38, 159); /* oklch */ color: oklch(39.2% 0.181 286.4);
Tailwind
colors: {
custom: {
50: '#8364bc',
500: '#45269f',
950: '#000000',
},
}SCSS
$custom: #45269f; $custom-light: #8364bc; $custom-dark: #000000;
JSON
{
"hex": "#45269f",
"rgb": {
"r": 69,
"g": 38,
"b": 159
},
"hsl": {
"h": 255.372,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.39229,
"c": 0.18095,
"h": 286.4
},
"luminance": 0.05155
}Semantic roles & 50–950 ramp
primary
#45269F
secondary
#A8C061
accent
#E543BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81