#531852#531852

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

Color values

HEX#531852
RGBrgb(83, 24, 82)
HSLhsl(301, 55%, 21%)
HSVhsv(301, 71%, 33%)
CMYKcmyk(0%, 71.1%, 1.2%, 67.5%)
CIE-LABlab(20.45, 35.32, -21.94)
CIE-LCHlch(20.45, 41.58, 328.15°)
OKLaboklab(32.93% 0.0989 -0.0606)
OKLCHoklch(32.93% 0.116 328.5)
XYZxyz(5.4168, 3.1018, 8.2944)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531852 #185319
analogous
#361853 #531852 #531834
triadic
#531852 #525318 #185253
tetradic
#531852 #533618 #185319 #183453
square
#531852 #533618 #185319 #183453
split-complementary
#531852 #345318 #185336
monochromatic
#180717 #240A23 #531852 #822681 #B233B0

Accessibility & contrast

On white

12.96
#531852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#531852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531852
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531852#FFFFFF#000000##FFFFFF
##5318521.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C54
Deuteranopia (green-blind)
#273450
Tritanopia (blue-blind)
#562032
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #531852;
/* rgb */ color: rgb(83, 24, 82);
/* oklch */ color: oklch(32.9% 0.116 328.5);
Tailwind
colors: {
  custom: {
    50: '#865a83',
    500: '#531852',
    950: '#000000',
  },
}
SCSS
$custom: #531852;
$custom-light: #865a83;
$custom-dark: #000000;
JSON
{
  "hex": "#531852",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 301.017,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.11599,
    "h": 328.5
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#531852
secondary
#3D8A3E
accent
#DE4C49
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #531852

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

Preview Lab → · Contrast checker → · Palette generator →

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