#524C5E#524C5E

#524C5E is a dark, muted violet. Relative luminance 0.078; OKLCH L 42.9% C 0.030 H 300.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#524C5E
RGBrgb(82, 76, 94)
HSLhsl(260, 11%, 33%)
HSVhsv(260, 19%, 37%)
CMYKcmyk(12.8%, 19.1%, 0%, 63.1%)
CIE-LABlab(33.50, 6.52, -9.63)
CIE-LCHlch(33.50, 11.63, 304.10°)
OKLaboklab(42.92% 0.0153 -0.0261)
OKLCHoklch(42.92% 0.03 300.4)
XYZxyz(8.0841, 7.7709, 11.6615)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524C5E #585E4C
analogous
#4C4F5E #524C5E #5B4C5E
triadic
#524C5E #5E524C #4C5E52
tetradic
#524C5E #5E4C4F #585E4C #4C5E5B
square
#524C5E #5E4C4F #585E4C #4C5E5B
split-complementary
#524C5E #5E5B4C #4F5E4C
monochromatic
#17151A #34313C #524C5E #706780 #8E879E

Accessibility & contrast

On white

8.22
#524C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#524C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524C5E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524C5E#FFFFFF#000000##FFFFFF
##524C5E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F5F
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#504E52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #524c5e;
/* rgb */ color: rgb(82, 76, 94);
/* oklch */ color: oklch(42.9% 0.030 300.4);
Tailwind
colors: {
  custom: {
    50: '#827e8b',
    500: '#524c5e',
    950: '#000000',
  },
}
SCSS
$custom: #524c5e;
$custom-light: #827e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#524c5e",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 94
  },
  "hsl": {
    "h": 260,
    "s": 10.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.03026,
    "h": 300.4
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#524C5E
secondary
#868C7A
accent
#B4749E
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #524C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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