#452398#452398
#452398 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.176 H 288.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #452398 |
|---|---|
| RGB | rgb(69, 35, 152) |
| HSL | hsl(257, 63%, 37%) |
| HSV | hsv(257, 77%, 60%) |
| CMYK | cmyk(54.6%, 77%, 0%, 40.4%) |
| CIE-LAB | lab(25.96, 44.65, -58.01) |
| CIE-LCH | lch(25.96, 73.20, 307.58°) |
| OKLab | oklab(38.18% 0.0553 -0.1668) |
| OKLCH | oklch(38.18% 0.176 288.3) |
| XYZ | xyz(8.7211, 4.7338, 30.1539) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.05
Royal
#0C1793
ΔE00 6.07
Indigo
#4B0082
ΔE00 6.09
Indigo (survey)
#380282
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.36
Cobalt Blue
#030AA7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452398 #769823
analogous
#233C98 #452398 #802398
triadic
#452398 #984523 #239845
tetradic
#452398 #98233C #769823 #239880
square
#452398 #98233C #769823 #239880
split-complementary
#452398 #988023 #3C9823
monochromatic
#180C35 #2E1866 #452398 #5C2ECA #805CD9
Accessibility & contrast
On white
10.79
#452398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#452398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452398
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452398 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#24445C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #452398; /* rgb */ color: rgb(69, 35, 152); /* oklch */ color: oklch(38.2% 0.176 288.3);
Tailwind
colors: {
custom: {
50: '#8262b7',
500: '#452398',
950: '#000000',
},
}SCSS
$custom: #452398; $custom-light: #8262b7; $custom-dark: #000000;
JSON
{
"hex": "#452398",
"rgb": {
"r": 69,
"g": 35,
"b": 152
},
"hsl": {
"h": 257.436,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.38176,
"c": 0.17577,
"h": 288.3
},
"luminance": 0.04734
}Semantic roles & 50–950 ramp
primary
#452398
secondary
#A1BE59
accent
#E642B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80