#531752#531752

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

Color values

HEX#531752
RGBrgb(83, 23, 82)
HSLhsl(301, 57%, 21%)
HSVhsv(301, 72%, 33%)
CMYKcmyk(0%, 72.3%, 1.2%, 67.5%)
CIE-LABlab(20.29, 35.76, -22.19)
CIE-LCHlch(20.29, 42.09, 328.18°)
OKLaboklab(32.81% 0.1002 -0.0613)
OKLCHoklch(32.81% 0.117 328.5)
XYZxyz(5.3966, 3.0614, 8.2877)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531752 #175318
analogous
#361753 #531752 #531734
triadic
#531752 #525317 #175253
tetradic
#531752 #533617 #175318 #173453
square
#531752 #533617 #175318 #173453
split-complementary
#531752 #345317 #175336
monochromatic
#180718 #230A23 #531752 #832481 #B332B1

Accessibility & contrast

On white

13.03
#531752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#531752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531752
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531752#FFFFFF#000000##FFFFFF
##5317521.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C54
Deuteranopia (green-blind)
#273450
Tritanopia (blue-blind)
#561F32
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #531752;
/* rgb */ color: rgb(83, 23, 82);
/* oklch */ color: oklch(32.8% 0.117 328.5);
Tailwind
colors: {
  custom: {
    50: '#865a83',
    500: '#531752',
    950: '#000000',
  },
}
SCSS
$custom: #531752;
$custom-light: #865a83;
$custom-dark: #000000;
JSON
{
  "hex": "#531752",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 301,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32814,
    "c": 0.11745,
    "h": 328.5
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#531752
secondary
#3C8A3D
accent
#E04A48
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #531752

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

Preview Lab → · Contrast checker → · Palette generator →

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