#531952#531952

#531952 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.115 H 328.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#531952
RGBrgb(83, 25, 82)
HSLhsl(301, 54%, 21%)
HSVhsv(301, 70%, 33%)
CMYKcmyk(0%, 69.9%, 1.2%, 67.5%)
CIE-LABlab(20.61, 34.86, -21.68)
CIE-LCHlch(20.61, 41.05, 328.12°)
OKLaboklab(33.05% 0.0976 -0.0598)
OKLCHoklch(33.05% 0.115 328.5)
XYZxyz(5.4378, 3.1438, 8.3014)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531952 #19531A
analogous
#371953 #531952 #531935
triadic
#531952 #525319 #195253
tetradic
#531952 #533719 #19531A #193553
square
#531952 #533719 #19531A #193553
split-complementary
#531952 #355319 #195337
monochromatic
#180717 #240B24 #531952 #822780 #B135AF

Accessibility & contrast

On white

12.89
#531952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#531952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531952
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531952#FFFFFF#000000##FFFFFF
##5319521.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D54
Deuteranopia (green-blind)
#283450
Tritanopia (blue-blind)
#562033
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531952;
/* rgb */ color: rgb(83, 25, 82);
/* oklch */ color: oklch(33.0% 0.115 328.5);
Tailwind
colors: {
  custom: {
    50: '#865b83',
    500: '#531952',
    950: '#000000',
  },
}
SCSS
$custom: #531952;
$custom-light: #865b83;
$custom-dark: #000000;
JSON
{
  "hex": "#531952",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 301.034,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33047,
    "c": 0.1145,
    "h": 328.5
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#531952
secondary
#3E8940
accent
#DD4D4B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #531952

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

Preview Lab → · Contrast checker → · Palette generator →

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