#452498#452498
#452498 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.175 H 288.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #452498 |
|---|---|
| RGB | rgb(69, 36, 152) |
| HSL | hsl(257, 62%, 37%) |
| HSV | hsv(257, 76%, 60%) |
| CMYK | cmyk(54.6%, 76.3%, 0%, 40.4%) |
| CIE-LAB | lab(26.14, 44.14, -57.73) |
| CIE-LCH | lch(26.14, 72.67, 307.41°) |
| OKLab | oklab(38.3% 0.0545 -0.166) |
| OKLCH | oklch(38.3% 0.175 288.2) |
| XYZ | xyz(8.7509, 4.7935, 30.1638) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.13
Royal
#0C1793
ΔE00 6.14
Indigo
#4B0082
ΔE00 6.26
Indigo (survey)
#380282
ΔE00 6.28
Ultramarine
#2000B1
ΔE00 6.50
Cobalt Blue
#030AA7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452498 #779824
analogous
#243D98 #452498 #7F2498
triadic
#452498 #984524 #249845
tetradic
#452498 #98243D #779824 #24987F
square
#452498 #98243D #779824 #24987F
split-complementary
#452498 #987F24 #3D9824
monochromatic
#180D35 #2F1867 #452498 #5B30C9 #815ED9
Accessibility & contrast
On white
10.72
#452498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#452498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452498
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452498 | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#24445C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #452498; /* rgb */ color: rgb(69, 36, 152); /* oklch */ color: oklch(38.3% 0.175 288.2);
Tailwind
colors: {
custom: {
50: '#8263b7',
500: '#452498',
950: '#000000',
},
}SCSS
$custom: #452498; $custom-light: #8263b7; $custom-dark: #000000;
JSON
{
"hex": "#452498",
"rgb": {
"r": 69,
"g": 36,
"b": 152
},
"hsl": {
"h": 257.069,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.383,
"c": 0.17473,
"h": 288.2
},
"luminance": 0.04794
}Semantic roles & 50–950 ramp
primary
#452498
secondary
#A1BE5A
accent
#E543B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80