#524262#524262

#524262 is a dark, muted violet. Relative luminance 0.066; OKLCH L 40.9% C 0.056 H 306.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#524262
RGBrgb(82, 66, 98)
HSLhsl(270, 20%, 32%)
HSVhsv(270, 33%, 38%)
CMYKcmyk(16.3%, 32.7%, 0%, 61.6%)
CIE-LABlab(30.81, 13.93, -16.28)
CIE-LCHlch(30.81, 21.43, 310.55°)
OKLaboklab(40.9% 0.0336 -0.0447)
OKLCHoklch(40.9% 0.056 306.9)
XYZxyz(7.6321, 6.5722, 12.4194)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524262 #526242
analogous
#424262 #524262 #624262
triadic
#524262 #625242 #426252
tetradic
#524262 #624242 #526242 #426262
square
#524262 #624242 #526242 #426262
split-complementary
#524262 #626242 #426242
monochromatic
#151119 #33293D #524262 #715B87 #8F79A5

Accessibility & contrast

On white

9.07
#524262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #524262
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524262#FFFFFF#000000##FFFFFF
##5242621.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4863
Deuteranopia (green-blind)
#3F4961
Tritanopia (blue-blind)
#50464D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #524262;
/* rgb */ color: rgb(82, 66, 98);
/* oklch */ color: oklch(40.9% 0.056 306.9);
Tailwind
colors: {
  custom: {
    50: '#83768e',
    500: '#524262',
    950: '#000000',
  },
}
SCSS
$custom: #524262;
$custom-light: #83768e;
$custom-dark: #000000;
JSON
{
  "hex": "#524262",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 270,
    "s": 19.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.05593,
    "h": 306.9
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#524262
secondary
#80916F
accent
#BC6C94
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #524262

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

Preview Lab → · Contrast checker → · Palette generator →

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