#524E62#524E62

#524E62 is a dark, muted violet. Relative luminance 0.081; OKLCH L 43.5% C 0.033 H 294.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#524E62
RGBrgb(82, 78, 98)
HSLhsl(252, 11%, 35%)
HSVhsv(252, 20%, 38%)
CMYKcmyk(16.3%, 20.4%, 0%, 61.6%)
CIE-LABlab(34.24, 6.23, -11.04)
CIE-LCHlch(34.24, 12.68, 299.45°)
OKLaboklab(43.55% 0.0135 -0.03)
OKLCHoklch(43.55% 0.033 294.2)
XYZxyz(8.4082, 8.1244, 12.6781)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524E62 #5E624E
analogous
#4E5462 #524E62 #5C4E62
triadic
#524E62 #62524E #4E6252
tetradic
#524E62 #624E54 #5E624E #4E625C
square
#524E62 #624E54 #5E624E #4E625C
split-complementary
#524E62 #625C4E #54624E
monochromatic
#19181E #353340 #524E62 #6F6984 #8E89A1

Accessibility & contrast

On white

8.00
#524E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#524E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524E62
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524E62#FFFFFF#000000##FFFFFF
##524E621.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#4A5061
Tritanopia (blue-blind)
#4F5155
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #524e62;
/* rgb */ color: rgb(82, 78, 98);
/* oklch */ color: oklch(43.5% 0.033 294.2);
Tailwind
colors: {
  custom: {
    50: '#827f8e',
    500: '#524e62',
    950: '#000000',
  },
}
SCSS
$custom: #524e62;
$custom-light: #827f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#524e62",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 98
  },
  "hsl": {
    "h": 252,
    "s": 11.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.03293,
    "h": 294.2
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#524E62
secondary
#8C907C
accent
#B474A7
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0A0A0C
muted
#7C7C7D

Preview Lab

Preview with #524E62

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

Preview Lab → · Contrast checker → · Palette generator →

#524E62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva