#524860#524860

#524860 is a dark, muted violet. Relative luminance 0.073; OKLCH L 42.1% C 0.041 H 303.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#524860
RGBrgb(82, 72, 96)
HSLhsl(265, 14%, 33%)
HSVhsv(265, 25%, 38%)
CMYKcmyk(14.6%, 25%, 0%, 62.4%)
CIE-LABlab(32.42, 9.57, -12.54)
CIE-LCHlch(32.42, 15.78, 307.34°)
OKLaboklab(42.11% 0.0228 -0.0342)
OKLCHoklch(42.11% 0.041 303.7)
XYZxyz(7.9080, 7.2731, 12.0513)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524860 #566048
analogous
#484A60 #524860 #5E4860
triadic
#524860 #605248 #486052
tetradic
#524860 #60484A #566048 #48605E
square
#524860 #60484A #566048 #48605E
split-complementary
#524860 #605E48 #4A6048
monochromatic
#16141A #342E3D #524860 #706283 #8F82A1

Accessibility & contrast

On white

8.56
#524860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#524860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524860
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524860#FFFFFF#000000##FFFFFF
##5248601.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C61
Deuteranopia (green-blind)
#454C5F
Tritanopia (blue-blind)
#504B50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #524860;
/* rgb */ color: rgb(82, 72, 96);
/* oklch */ color: oklch(42.1% 0.041 303.7);
Tailwind
colors: {
  custom: {
    50: '#837b8d',
    500: '#524860',
    950: '#000000',
  },
}
SCSS
$custom: #524860;
$custom-light: #837b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#524860",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 96
  },
  "hsl": {
    "h": 265,
    "s": 14.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4211,
    "c": 0.04109,
    "h": 303.7
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#524860
secondary
#848E75
accent
#B7719A
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #524860

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

Preview Lab → · Contrast checker → · Palette generator →

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