#524260#524260

#524260 is a dark, muted violet. Relative luminance 0.065; OKLCH L 40.8% C 0.053 H 308.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#524260
RGBrgb(82, 66, 96)
HSLhsl(272, 19%, 32%)
HSVhsv(272, 31%, 38%)
CMYKcmyk(14.6%, 31.3%, 0%, 62.4%)
CIE-LABlab(30.72, 13.43, -15.14)
CIE-LCHlch(30.72, 20.24, 311.58°)
OKLaboklab(40.81% 0.033 -0.0415)
OKLCHoklch(40.81% 0.053 308.5)
XYZxyz(7.5388, 6.5349, 11.9283)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524260 #506042
analogous
#434260 #524260 #60425F
triadic
#524260 #605242 #426052
tetradic
#524260 #604342 #506042 #425F60
square
#524260 #604342 #506042 #425F60
split-complementary
#524260 #5F6042 #426043
monochromatic
#141017 #33293C #524260 #715B84 #9079A3

Accessibility & contrast

On white

9.10
#524260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#524260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524260
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524260#FFFFFF#000000##FFFFFF
##5242601.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4861
Deuteranopia (green-blind)
#40495F
Tritanopia (blue-blind)
#50464D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #524260;
/* rgb */ color: rgb(82, 66, 96);
/* oklch */ color: oklch(40.8% 0.053 308.5);
Tailwind
colors: {
  custom: {
    50: '#83768d',
    500: '#524260',
    950: '#000000',
  },
}
SCSS
$custom: #524260;
$custom-light: #83768d;
$custom-dark: #000000;
JSON
{
  "hex": "#524260",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 96
  },
  "hsl": {
    "h": 272,
    "s": 18.519,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.05298,
    "h": 308.5
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#524260
secondary
#7E8F6E
accent
#BB6D91
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #524260

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

Preview Lab → · Contrast checker → · Palette generator →

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