#45236F#45236F
#45236F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.126 H 300.5°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #45236F |
|---|---|
| RGB | rgb(69, 35, 111) |
| HSL | hsl(267, 52%, 29%) |
| HSV | hsv(267, 68%, 44%) |
| CMYK | cmyk(37.8%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(22.36, 32.92, -38.12) |
| CIE-LCH | lch(22.36, 50.37, 310.81°) |
| OKLab | oklab(34.5% 0.0638 -0.1084) |
| OKLCH | oklch(34.5% 0.126 300.5) |
| XYZ | xyz(5.9238, 3.6149, 15.4215) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.86
Indigo
#4B0082
ΔE00 6.52
Indigo (survey)
#380282
ΔE00 7.35
Midnight Blue
#191970
ΔE00 7.64
Darkslateblue
#483D8B
ΔE00 8.30
Dark Indigo
#1F0954
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45236F #4D6F23
analogous
#23276F #45236F #6B236F
triadic
#45236F #6F4523 #236F45
tetradic
#45236F #6F2327 #4D6F23 #236F6B
square
#45236F #6F2327 #4D6F23 #236F6B
split-complementary
#45236F #6F6B23 #276F23
monochromatic
#0E0717 #281440 #45236F #62329E #8047C5
Accessibility & contrast
On white
12.19
#45236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#45236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45236F
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45236F | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00356D
Tritanopia (blue-blind)
#3C3445
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #45236f; /* rgb */ color: rgb(69, 35, 111); /* oklch */ color: oklch(34.5% 0.126 300.5);
Tailwind
colors: {
custom: {
50: '#7c6099',
500: '#45236f',
950: '#000000',
},
}SCSS
$custom: #45236f; $custom-light: #7c6099; $custom-dark: #000000;
JSON
{
"hex": "#45236f",
"rgb": {
"r": 69,
"g": 35,
"b": 111
},
"hsl": {
"h": 266.842,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.34497,
"c": 0.1258,
"h": 300.5
},
"luminance": 0.03615
}Semantic roles & 50–950 ramp
primary
#45236F
secondary
#7BA24C
accent
#DB4C9B
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E