#524E66#524E66

#524E66 is a dark, muted violet. Relative luminance 0.082; OKLCH L 43.7% C 0.039 H 292.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#524E66
RGBrgb(82, 78, 102)
HSLhsl(250, 13%, 35%)
HSVhsv(250, 24%, 40%)
CMYKcmyk(19.6%, 23.5%, 0%, 60%)
CIE-LABlab(34.40, 7.24, -13.32)
CIE-LCHlch(34.40, 15.16, 298.55°)
OKLaboklab(43.72% 0.015 -0.0364)
OKLCHoklch(43.72% 0.039 292.3)
XYZxyz(8.6018, 8.2018, 13.6977)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524E66 #62664E
analogous
#4E5666 #524E66 #5E4E66
triadic
#524E66 #66524E #4E6652
tetradic
#524E66 #664E56 #62664E #4E665E
square
#524E66 #664E56 #62664E #4E665E
split-complementary
#524E66 #665E4E #56664E
monochromatic
#1A1921 #363343 #524E66 #6E6989 #8E89A5

Accessibility & contrast

On white

7.95
#524E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#524E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524E66
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524E66#FFFFFF#000000##FFFFFF
##524E661.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495167
Deuteranopia (green-blind)
#495065
Tritanopia (blue-blind)
#4E5256
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #524e66;
/* rgb */ color: rgb(82, 78, 102);
/* oklch */ color: oklch(43.7% 0.039 292.3);
Tailwind
colors: {
  custom: {
    50: '#837f91',
    500: '#524e66',
    950: '#000000',
  },
}
SCSS
$custom: #524e66;
$custom-light: #837f91;
$custom-dark: #000000;
JSON
{
  "hex": "#524e66",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 102
  },
  "hsl": {
    "h": 250,
    "s": 13.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.03937,
    "h": 292.3
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#524E66
secondary
#8F937D
accent
#B672AB
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0A0A0C
muted
#7C7C7D

Preview Lab

Preview with #524E66

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

Preview Lab → · Contrast checker → · Palette generator →

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