#531157#531157

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

Color values

HEX#531157
RGBrgb(83, 17, 87)
HSLhsl(297, 67%, 20%)
HSVhsv(297, 80%, 34%)
CMYKcmyk(4.6%, 80.5%, 0%, 65.9%)
CIE-LABlab(19.75, 39.14, -26.40)
CIE-LCHlch(19.75, 47.21, 325.99°)
OKLaboklab(32.53% 0.107 -0.0735)
OKLCHoklch(32.53% 0.13 325.5)
XYZxyz(5.4879, 2.9284, 9.2912)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531157 #155711
analogous
#301157 #531157 #571138
triadic
#531157 #575311 #115753
tetradic
#531157 #573011 #155711 #113857
square
#531157 #573011 #155711 #113857
split-complementary
#531157 #385711 #115730
monochromatic
#18051A #220724 #531157 #841B8A #B525BD

Accessibility & contrast

On white

13.24
#531157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#531157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531157
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531157#FFFFFF#000000##FFFFFF
##5311571.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#551D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531157;
/* rgb */ color: rgb(83, 17, 87);
/* oklch */ color: oklch(32.5% 0.130 325.5);
Tailwind
colors: {
  custom: {
    50: '#865887',
    500: '#531157',
    950: '#000000',
  },
}
SCSS
$custom: #531157;
$custom-light: #865887;
$custom-dark: #000000;
JSON
{
  "hex": "#531157",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 296.571,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32533,
    "c": 0.12978,
    "h": 325.5
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#531157
secondary
#399034
accent
#EA3E47
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531157

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

Preview Lab → · Contrast checker → · Palette generator →

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