#524372#524372

#524372 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.0% C 0.078 H 297.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#524372
RGBrgb(82, 67, 114)
HSLhsl(259, 26%, 35%)
HSVhsv(259, 41%, 45%)
CMYKcmyk(28.1%, 41.2%, 0%, 55.3%)
CIE-LABlab(31.86, 17.51, -24.80)
CIE-LCHlch(31.86, 30.36, 305.22°)
OKLaboklab(41.95% 0.0362 -0.0692)
OKLCHoklch(41.95% 0.078 297.6)
XYZxyz(8.5234, 7.0230, 16.8228)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524372 #637243
analogous
#434B72 #524372 #694372
triadic
#524372 #725243 #437252
tetradic
#524372 #72434B #637243 #437269
square
#524372 #72434B #637243 #437269
split-complementary
#524372 #726943 #4B7243
monochromatic
#1B1625 #362C4B #524372 #6E5A99 #8E7DB3

Accessibility & contrast

On white

8.73
#524372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#524372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524372
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524372#FFFFFF#000000##FFFFFF
##5243721.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#4C4B55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #524372;
/* rgb */ color: rgb(82, 67, 114);
/* oklch */ color: oklch(42.0% 0.078 297.6);
Tailwind
colors: {
  custom: {
    50: '#84779b',
    500: '#524372',
    950: '#000000',
  },
}
SCSS
$custom: #524372;
$custom-light: #84779b;
$custom-dark: #000000;
JSON
{
  "hex": "#524372",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 259.149,
    "s": 25.967,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.07808,
    "h": 297.6
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#524372
secondary
#909E73
accent
#C265A5
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #524372

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

Preview Lab → · Contrast checker → · Palette generator →

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