#531567#531567

#531567 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.140 H 316.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#531567
RGBrgb(83, 21, 103)
HSLhsl(285, 66%, 24%)
HSVhsv(285, 80%, 40%)
CMYKcmyk(19.4%, 79.6%, 0%, 59.6%)
CIE-LABlab(21.41, 40.91, -34.34)
CIE-LCHlch(21.41, 53.41, 319.99°)
OKLaboklab(34.07% 0.1013 -0.0967)
OKLCHoklch(34.07% 0.14 316.3)
XYZxyz(6.2832, 3.3549, 13.1459)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531567 #296715
analogous
#2A1567 #531567 #671552
triadic
#531567 #675315 #156753
tetradic
#531567 #672A15 #296715 #155267
square
#531567 #672A15 #296715 #155267
split-complementary
#531567 #526715 #15672A
monochromatic
#140519 #2A0B34 #531567 #7C1F9A #A52ACD

Accessibility & contrast

On white

12.57
#531567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#531567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531567
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531567#FFFFFF#000000##FFFFFF
##5315671.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#153565
Tritanopia (blue-blind)
#52273D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #531567;
/* rgb */ color: rgb(83, 21, 103);
/* oklch */ color: oklch(34.1% 0.140 316.3);
Tailwind
colors: {
  custom: {
    50: '#875a93',
    500: '#531567',
    950: '#000000',
  },
}
SCSS
$custom: #531567;
$custom-light: #875a93;
$custom-dark: #000000;
JSON
{
  "hex": "#531567",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 285.366,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34072,
    "c": 0.14011,
    "h": 316.3
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#531567
secondary
#529E3A
accent
#E93F68
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531567

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

Preview Lab → · Contrast checker → · Palette generator →

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