#531557#531557

#531557 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.125 H 325.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#531557
RGBrgb(83, 21, 87)
HSLhsl(296, 61%, 21%)
HSVhsv(296, 76%, 34%)
CMYKcmyk(4.6%, 75.9%, 0%, 65.9%)
CIE-LABlab(20.30, 37.59, -25.54)
CIE-LCHlch(20.30, 45.44, 325.81°)
OKLaboklab(32.92% 0.1027 -0.071)
OKLCHoklch(32.92% 0.125 325.3)
XYZxyz(5.5556, 3.0638, 9.3137)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531557 #195715
analogous
#321557 #531557 #57153A
triadic
#531557 #575315 #155753
tetradic
#531557 #573215 #195715 #153A57
square
#531557 #573215 #195715 #153A57
split-complementary
#531557 #3A5715 #155732
monochromatic
#180619 #240926 #531557 #822188 #B12DBA

Accessibility & contrast

On white

13.02
#531557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531557
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531557#FFFFFF#000000##FFFFFF
##5315571.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C59
Deuteranopia (green-blind)
#233455
Tritanopia (blue-blind)
#552034
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #531557;
/* rgb */ color: rgb(83, 21, 87);
/* oklch */ color: oklch(32.9% 0.125 325.3);
Tailwind
colors: {
  custom: {
    50: '#865987',
    500: '#531557',
    950: '#000000',
  },
}
SCSS
$custom: #531557;
$custom-light: #865987;
$custom-dark: #000000;
JSON
{
  "hex": "#531557",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 296.364,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32921,
    "c": 0.12483,
    "h": 325.3
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#531557
secondary
#3E8F39
accent
#E4444D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531557

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

Preview Lab → · Contrast checker → · Palette generator →

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