#531367#531367

#531367 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.142 H 316.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#531367
RGBrgb(83, 19, 103)
HSLhsl(286, 69%, 24%)
HSVhsv(286, 82%, 40%)
CMYKcmyk(19.4%, 81.6%, 0%, 59.6%)
CIE-LABlab(21.15, 41.67, -34.77)
CIE-LCHlch(21.15, 54.27, 320.16°)
OKLaboklab(33.89% 0.1033 -0.098)
OKLCHoklch(33.89% 0.142 316.5)
XYZxyz(6.2480, 3.2843, 13.1341)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531367 #276713
analogous
#291367 #531367 #671351
triadic
#531367 #675313 #136753
tetradic
#531367 #672913 #276713 #135167
square
#531367 #672913 #276713 #135167
split-complementary
#531367 #516713 #136729
monochromatic
#15051A #290933 #531367 #7D1D9B #A626CE

Accessibility & contrast

On white

12.68
#531367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#531367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531367
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531367#FFFFFF#000000##FFFFFF
##5313671.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#133565
Tritanopia (blue-blind)
#52263D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #531367;
/* rgb */ color: rgb(83, 19, 103);
/* oklch */ color: oklch(33.9% 0.142 316.5);
Tailwind
colors: {
  custom: {
    50: '#875993',
    500: '#531367',
    950: '#000000',
  },
}
SCSS
$custom: #531367;
$custom-light: #875993;
$custom-dark: #000000;
JSON
{
  "hex": "#531367",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 285.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33885,
    "c": 0.14236,
    "h": 316.5
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#531367
secondary
#509E37
accent
#EC3C66
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531367

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

Preview Lab → · Contrast checker → · Palette generator →

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