#524596#524596
#524596 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.128 H 287.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #524596 |
|---|---|
| RGB | rgb(82, 69, 150) |
| HSL | hsl(250, 37%, 43%) |
| HSV | hsv(250, 54%, 59%) |
| CMYK | cmyk(45.3%, 54%, 0%, 41.2%) |
| CIE-LAB | lab(34.50, 26.80, -42.86) |
| CIE-LCH | lch(34.50, 50.55, 302.02°) |
| OKLab | oklab(44.63% 0.0383 -0.1219) |
| OKLCH | oklch(44.63% 0.128 287.4) |
| XYZ | xyz(11.1112, 8.2517, 29.8555) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.49
Darkslateblue
#483D8B
ΔE00 2.95
Ocean Blue
#4F42B5
ΔE00 5.34
Twilight
#4E518B
ΔE00 5.48
Rebeccapurple
#663399
ΔE00 7.06
Dusk
#4E5481
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524596 #899645
analogous
#456096 #524596 #7A4596
triadic
#524596 #965245 #459652
tetradic
#524596 #964560 #899645 #45967A
square
#524596 #964560 #899645 #45967A
split-complementary
#524596 #967A45 #609645
monochromatic
#241E42 #3B326C #524596 #6F62B7 #968CCA
Accessibility & contrast
On white
7.92
#524596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#524596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524596
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524596 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#3D5666
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #524596; /* rgb */ color: rgb(82, 69, 150); /* oklch */ color: oklch(44.6% 0.128 287.4);
Tailwind
colors: {
custom: {
50: '#8779b5',
500: '#524596',
950: '#000000',
},
}SCSS
$custom: #524596; $custom-light: #8779b5; $custom-dark: #000000;
JSON
{
"hex": "#524596",
"rgb": {
"r": 82,
"g": 69,
"b": 150
},
"hsl": {
"h": 249.63,
"s": 36.986,
"l": 42.941
},
"oklch": {
"l": 0.44628,
"c": 0.12779,
"h": 287.4
},
"luminance": 0.08252
}Semantic roles & 50–950 ramp
primary
#524596
secondary
#ADB582
accent
#CD5BBB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80