#452C8B#452C8B
#452C8B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.149 H 289.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #452C8B |
|---|---|
| RGB | rgb(69, 44, 139) |
| HSL | hsl(256, 52%, 36%) |
| HSV | hsv(256, 68%, 55%) |
| CMYK | cmyk(50.4%, 68.3%, 0%, 45.5%) |
| CIE-LAB | lab(26.54, 35.91, -49.05) |
| CIE-LCH | lch(26.54, 60.79, 306.21°) |
| OKLab | oklab(38.22% 0.0498 -0.1406) |
| OKLCH | oklch(38.22% 0.149 289.5) |
| XYZ | xyz(8.0138, 4.9303, 24.9505) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.98
Blueberry
#464196
ΔE00 6.21
Rebeccapurple
#663399
ΔE00 6.34
Indigo Blue
#3A18B1
ΔE00 6.90
Indigo
#4B0082
ΔE00 7.37
Royal
#0C1793
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452C8B #728B2C
analogous
#2C428B #452C8B #742C8B
triadic
#452C8B #8B452C #2C8B45
tetradic
#452C8B #8B2C42 #728B2C #2C8B74
square
#452C8B #8B2C42 #728B2C #2C8B74
split-complementary
#452C8B #8B742C #428B2C
monochromatic
#170F2E #2E1D5D #452C8B #5C3BB9 #8064CE
Accessibility & contrast
On white
10.57
#452C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#452C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452C8B
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452C8B | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#2D4357
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #452c8b; /* rgb */ color: rgb(69, 44, 139); /* oklch */ color: oklch(38.2% 0.149 289.5);
Tailwind
colors: {
custom: {
50: '#7f67ae',
500: '#452c8b',
950: '#000000',
},
}SCSS
$custom: #452c8b; $custom-light: #7f67ae; $custom-dark: #000000;
JSON
{
"hex": "#452c8b",
"rgb": {
"r": 69,
"g": 44,
"b": 139
},
"hsl": {
"h": 255.789,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.38222,
"c": 0.14917,
"h": 289.5
},
"luminance": 0.04931
}Semantic roles & 50–950 ramp
primary
#452C8B
secondary
#9EB45F
accent
#DB4CB6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F