#45268E#45268E
#45268E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.160 H 290.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #45268E |
|---|---|
| RGB | rgb(69, 38, 142) |
| HSL | hsl(258, 58%, 35%) |
| HSV | hsv(258, 73%, 56%) |
| CMYK | cmyk(51.4%, 73.2%, 0%, 44.3%) |
| CIE-LAB | lab(25.58, 40.18, -52.48) |
| CIE-LCH | lch(25.58, 66.09, 307.44°) |
| OKLab | oklab(37.62% 0.0552 -0.1506) |
| OKLCH | oklch(37.62% 0.16 290.1) |
| XYZ | xyz(8.0284, 4.6041, 26.0516) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.72
Indigo
#4B0082
ΔE00 6.03
Indigo (survey)
#380282
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.54
Royal
#0C1793
ΔE00 6.56
Rebeccapurple
#663399
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45268E #6F8E26
analogous
#263B8E #45268E #79268E
triadic
#45268E #8E4526 #268E45
tetradic
#45268E #8E263B #6F8E26 #268E79
square
#45268E #8E263B #6F8E26 #268E79
split-complementary
#45268E #8E7926 #3B8E26
monochromatic
#160C2D #2E195E #45268E #5C33BE #7F5BD3
Accessibility & contrast
On white
10.93
#45268E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#45268E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45268E
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45268E | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#2C4157
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #45268e; /* rgb */ color: rgb(69, 38, 142); /* oklch */ color: oklch(37.6% 0.160 290.1);
Tailwind
colors: {
custom: {
50: '#8063b0',
500: '#45268e',
950: '#000000',
},
}SCSS
$custom: #45268e; $custom-light: #8063b0; $custom-dark: #000000;
JSON
{
"hex": "#45268e",
"rgb": {
"r": 69,
"g": 38,
"b": 142
},
"hsl": {
"h": 257.885,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.37617,
"c": 0.16045,
"h": 290.1
},
"luminance": 0.04604
}Semantic roles & 50–950 ramp
primary
#45268E
secondary
#9BB858
accent
#E147B3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80