#531056#531056

#531056 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.130 H 326.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#531056
RGBrgb(83, 16, 86)
HSLhsl(297, 69%, 20%)
HSVhsv(297, 81%, 34%)
CMYKcmyk(3.5%, 81.4%, 0%, 66.3%)
CIE-LABlab(19.56, 39.30, -26.04)
CIE-LCHlch(19.56, 47.14, 326.48°)
OKLaboklab(32.38% 0.108 -0.0724)
OKLCHoklch(32.38% 0.13 326.2)
XYZxyz(5.4322, 2.8818, 9.0724)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531056 #135610
analogous
#301056 #531056 #561036
triadic
#531056 #565310 #105653
tetradic
#531056 #563010 #135610 #103656
square
#531056 #563010 #135610 #103656
split-complementary
#531056 #365610 #105630
monochromatic
#19051A #210622 #531056 #851A8A #B723BD

Accessibility & contrast

On white

13.32
#531056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#531056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531056
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531056#FFFFFF#000000##FFFFFF
##5310561.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#213254
Tritanopia (blue-blind)
#551C32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #531056;
/* rgb */ color: rgb(83, 16, 86);
/* oklch */ color: oklch(32.4% 0.130 326.2);
Tailwind
colors: {
  custom: {
    50: '#865786',
    500: '#531056',
    950: '#000000',
  },
}
SCSS
$custom: #531056;
$custom-light: #865786;
$custom-dark: #000000;
JSON
{
  "hex": "#531056",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 297.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.13004,
    "h": 326.2
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#531056
secondary
#368F32
accent
#EB3C44
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #531056

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

Preview Lab → · Contrast checker → · Palette generator →

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