#45266F#45266F
#45266F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.121 H 299.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #45266F |
|---|---|
| RGB | rgb(69, 38, 111) |
| HSL | hsl(265, 49%, 29%) |
| HSV | hsv(265, 66%, 44%) |
| CMYK | cmyk(37.8%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(23.00, 31.18, -37.09) |
| CIE-LCH | lch(23.00, 48.45, 310.05°) |
| OKLab | oklab(34.96% 0.06 -0.1054) |
| OKLCH | oklch(34.96% 0.121 299.6) |
| XYZ | xyz(6.0159, 3.7991, 15.4522) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.66
Indigo
#4B0082
ΔE00 7.25
Darkslateblue
#483D8B
ΔE00 7.72
Midnight Blue
#191970
ΔE00 7.85
Indigo (survey)
#380282
ΔE00 8.01
Rebeccapurple
#663399
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45266F #506F26
analogous
#262C6F #45266F #6A266F
triadic
#45266F #6F4526 #266F45
tetradic
#45266F #6F262C #506F26 #266F6A
square
#45266F #6F262C #506F26 #266F6A
split-complementary
#45266F #6F6A26 #2C6F26
monochromatic
#0E0817 #291641 #45266F #61369D #7F4DC2
Accessibility & contrast
On white
11.93
#45266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#45266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45266F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45266F | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#3C3646
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #45266f; /* rgb */ color: rgb(69, 38, 111); /* oklch */ color: oklch(35.0% 0.121 299.6);
Tailwind
colors: {
custom: {
50: '#7c6299',
500: '#45266f',
950: '#000000',
},
}SCSS
$custom: #45266f; $custom-light: #7c6299; $custom-dark: #000000;
JSON
{
"hex": "#45266f",
"rgb": {
"r": 69,
"g": 38,
"b": 111
},
"hsl": {
"h": 265.479,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.3496,
"c": 0.12129,
"h": 299.6
},
"luminance": 0.03799
}Semantic roles & 50–950 ramp
primary
#45266F
secondary
#7FA24F
accent
#D94F9E
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E