#452C98#452C98
#452C98 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.166 H 286.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #452C98 |
|---|---|
| RGB | rgb(69, 44, 152) |
| HSL | hsl(254, 55%, 38%) |
| HSV | hsv(254, 71%, 60%) |
| CMYK | cmyk(54.6%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(27.66, 39.87, -55.23) |
| CIE-LCH | lch(27.66, 68.11, 305.82°) |
| OKLab | oklab(39.38% 0.0476 -0.1587) |
| OKLCH | oklch(39.38% 0.166 286.7) |
| XYZ | xyz(9.0207, 5.3331, 30.2537) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.19
Darkslateblue
#483D8B
ΔE00 5.66
Blueberry
#464196
ΔE00 6.12
Rebeccapurple
#663399
ΔE00 6.28
Sapphire (survey)
#2138AB
ΔE00 6.53
Royal
#0C1793
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452C98 #7F982C
analogous
#2C4998 #452C98 #7B2C98
triadic
#452C98 #98452C #2C9845
tetradic
#452C98 #982C49 #7F982C #2C987B
square
#452C98 #982C49 #7F982C #2C987B
split-complementary
#452C98 #987B2C #49982C
monochromatic
#1A1139 #2F1E69 #452C98 #5B3BC6 #836AD4
Accessibility & contrast
On white
10.16
#452C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#452C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452C98
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452C98 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#23485E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #452c98; /* rgb */ color: rgb(69, 44, 152); /* oklch */ color: oklch(39.4% 0.166 286.7);
Tailwind
colors: {
custom: {
50: '#8167b7',
500: '#452c98',
950: '#000000',
},
}SCSS
$custom: #452c98; $custom-light: #8167b7; $custom-dark: #000000;
JSON
{
"hex": "#452c98",
"rgb": {
"r": 69,
"g": 44,
"b": 152
},
"hsl": {
"h": 253.889,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.3938,
"c": 0.16573,
"h": 286.7
},
"luminance": 0.05334
}Semantic roles & 50–950 ramp
primary
#452C98
secondary
#A7BB65
accent
#DE49BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80