#524258#524258

#524258 is a dark, muted purple. Relative luminance 0.064; OKLCH L 40.4% C 0.042 H 316.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#524258
RGBrgb(82, 66, 88)
HSLhsl(284, 14%, 30%)
HSVhsv(284, 25%, 35%)
CMYKcmyk(6.8%, 25%, 0%, 65.5%)
CIE-LABlab(30.39, 11.51, -10.52)
CIE-LCHlch(30.39, 15.59, 317.58°)
OKLaboklab(40.44% 0.0302 -0.0285)
OKLCHoklch(40.44% 0.042 316.7)
XYZxyz(7.1891, 6.3950, 10.0863)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524258 #485842
analogous
#474258 #524258 #584253
triadic
#524258 #585242 #425852
tetradic
#524258 #584742 #485842 #425358
square
#524258 #584742 #485842 #425358
split-complementary
#524258 #535842 #425847
monochromatic
#110E12 #312835 #524258 #735C7B #927A9B

Accessibility & contrast

On white

9.21
#524258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#524258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524258
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524258#FFFFFF#000000##FFFFFF
##5242581.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4759
Deuteranopia (green-blind)
#434857
Tritanopia (blue-blind)
#52444A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #524258;
/* rgb */ color: rgb(82, 66, 88);
/* oklch */ color: oklch(40.4% 0.042 316.7);
Tailwind
colors: {
  custom: {
    50: '#827687',
    500: '#524258',
    950: '#000000',
  },
}
SCSS
$custom: #524258;
$custom-light: #827687;
$custom-dark: #000000;
JSON
{
  "hex": "#524258",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 283.636,
    "s": 14.286,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.04154,
    "h": 316.7
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#524258
secondary
#75876F
accent
#B77184
background
#F8F7F8
surface
#EFEDEF
border
#CAC8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #524258

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

Preview Lab → · Contrast checker → · Palette generator →

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