#524460#524460

#524460 is a dark, muted violet. Relative luminance 0.068; OKLCH L 41.2% C 0.049 H 307.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#524460
RGBrgb(82, 68, 96)
HSLhsl(270, 17%, 32%)
HSVhsv(270, 29%, 38%)
CMYKcmyk(14.6%, 29.2%, 0%, 62.4%)
CIE-LABlab(31.28, 12.14, -14.28)
CIE-LCHlch(31.28, 18.74, 310.37°)
OKLaboklab(41.23% 0.0296 -0.0391)
OKLCHoklch(41.23% 0.049 307.1)
XYZxyz(7.6577, 6.7727, 11.9679)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524460 #526044
analogous
#444460 #524460 #604460
triadic
#524460 #605244 #446052
tetradic
#524460 #604444 #526044 #446060
square
#524460 #604444 #526044 #446060
split-complementary
#524460 #606044 #446044
monochromatic
#151118 #332B3C #524460 #715D84 #8F7CA2

Accessibility & contrast

On white

8.92
#524460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#524460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524460
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524460#FFFFFF#000000##FFFFFF
##5244601.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4961
Deuteranopia (green-blind)
#424A5F
Tritanopia (blue-blind)
#50484E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #524460;
/* rgb */ color: rgb(82, 68, 96);
/* oklch */ color: oklch(41.2% 0.049 307.1);
Tailwind
colors: {
  custom: {
    50: '#83788d',
    500: '#524460',
    950: '#000000',
  },
}
SCSS
$custom: #524460;
$custom-light: #83788d;
$custom-dark: #000000;
JSON
{
  "hex": "#524460",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 96
  },
  "hsl": {
    "h": 270,
    "s": 17.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.04899,
    "h": 307.1
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#524460
secondary
#808F71
accent
#BA6E94
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #524460

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#524460 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva