#524868#524868

#524868 is a dark, muted violet. Relative luminance 0.074; OKLCH L 42.5% C 0.054 H 298.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#524868
RGBrgb(82, 72, 104)
HSLhsl(259, 18%, 35%)
HSVhsv(259, 31%, 41%)
CMYKcmyk(21.2%, 30.8%, 0%, 59.2%)
CIE-LABlab(32.76, 11.60, -17.09)
CIE-LCHlch(32.76, 20.66, 304.18°)
OKLaboklab(42.49% 0.0255 -0.047)
OKLCHoklch(42.49% 0.054 298.4)
XYZxyz(8.2952, 7.4280, 14.0907)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524868 #5E6848
analogous
#484E68 #524868 #624868
triadic
#524868 #685248 #486852
tetradic
#524868 #68484E #5E6848 #486862
square
#524868 #68484E #5E6848 #486862
split-complementary
#524868 #686248 #4E6848
monochromatic
#191620 #352F44 #524868 #6F618C #8E82A8

Accessibility & contrast

On white

8.45
#524868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#524868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524868
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524868#FFFFFF#000000##FFFFFF
##5248681.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414D69
Deuteranopia (green-blind)
#424D67
Tritanopia (blue-blind)
#4E4D53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #524868;
/* rgb */ color: rgb(82, 72, 104);
/* oklch */ color: oklch(42.5% 0.054 298.4);
Tailwind
colors: {
  custom: {
    50: '#837b93',
    500: '#524868',
    950: '#000000',
  },
}
SCSS
$custom: #524868;
$custom-light: #837b93;
$custom-dark: #000000;
JSON
{
  "hex": "#524868",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 104
  },
  "hsl": {
    "h": 258.75,
    "s": 18.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.05351,
    "h": 298.4
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#524868
secondary
#8C9576
accent
#BB6DA3
background
#F8F7F9
surface
#EFEDF1
border
#CAC8CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #524868

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

Preview Lab → · Contrast checker → · Palette generator →

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