#531160#531160

#531160 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.138 H 320.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#531160
RGBrgb(83, 17, 96)
HSLhsl(290, 70%, 22%)
HSVhsv(290, 82%, 38%)
CMYKcmyk(13.5%, 82.3%, 0%, 62.4%)
CIE-LABlab(20.38, 40.93, -31.40)
CIE-LCHlch(20.38, 51.58, 322.50°)
OKLaboklab(33.18% 0.1062 -0.0881)
OKLCHoklch(33.18% 0.138 320.3)
XYZxyz(5.8788, 3.0847, 11.3498)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531160 #1E6011
analogous
#2C1160 #531160 #601145
triadic
#531160 #605311 #116053
tetradic
#531160 #602C11 #1E6011 #114560
square
#531160 #602C11 #1E6011 #114560
split-complementary
#531160 #456011 #11602C
monochromatic
#16051A #26082C #531160 #801A94 #AD23C8

Accessibility & contrast

On white

12.99
#531160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531160
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531160#FFFFFF#000000##FFFFFF
##5311601.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#19335E
Tritanopia (blue-blind)
#532238
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #531160;
/* rgb */ color: rgb(83, 17, 96);
/* oklch */ color: oklch(33.2% 0.138 320.3);
Tailwind
colors: {
  custom: {
    50: '#86588e',
    500: '#531160',
    950: '#000000',
  },
}
SCSS
$custom: #531160;
$custom-light: #86588e;
$custom-dark: #000000;
JSON
{
  "hex": "#531160",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 290.127,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33178,
    "c": 0.13796,
    "h": 320.3
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#531160
secondary
#459934
accent
#ED3B58
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #531160

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

Preview Lab → · Contrast checker → · Palette generator →

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