#452C8D#452C8D
#452C8D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.152 H 289.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #452C8D |
|---|---|
| RGB | rgb(69, 44, 141) |
| HSL | hsl(255, 52%, 36%) |
| HSV | hsv(255, 69%, 55%) |
| CMYK | cmyk(51.1%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(26.70, 36.52, -50.02) |
| CIE-LCH | lch(26.70, 61.93, 306.13°) |
| OKLab | oklab(38.4% 0.0495 -0.1434) |
| OKLCH | oklch(38.4% 0.152 289) |
| XYZ | xyz(8.1613, 4.9893, 25.7271) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.04
Blueberry
#464196
ΔE00 6.15
Rebeccapurple
#663399
ΔE00 6.29
Indigo Blue
#3A18B1
ΔE00 6.61
Royal
#0C1793
ΔE00 7.34
Indigo
#4B0082
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452C8D #748D2C
analogous
#2C448D #452C8D #762C8D
triadic
#452C8D #8D452C #2C8D45
tetradic
#452C8D #8D2C44 #748D2C #2C8D76
square
#452C8D #8D2C44 #748D2C #2C8D76
split-complementary
#452C8D #8D762C #448D2C
monochromatic
#170F30 #2E1D5E #452C8D #5C3BBC #8065CF
Accessibility & contrast
On white
10.51
#452C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#452C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452C8D
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452C8D | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#2C4458
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #452c8d; /* rgb */ color: rgb(69, 44, 141); /* oklch */ color: oklch(38.4% 0.152 289.0);
Tailwind
colors: {
custom: {
50: '#8067af',
500: '#452c8d',
950: '#000000',
},
}SCSS
$custom: #452c8d; $custom-light: #8067af; $custom-dark: #000000;
JSON
{
"hex": "#452c8d",
"rgb": {
"r": 69,
"g": 44,
"b": 141
},
"hsl": {
"h": 255.464,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.38396,
"c": 0.15175,
"h": 289
},
"luminance": 0.0499
}Semantic roles & 50–950 ramp
primary
#452C8D
secondary
#9FB560
accent
#DC4CB7
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F