#531566#531566

#531566 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.139 H 316.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#531566
RGBrgb(83, 21, 102)
HSLhsl(286, 66%, 24%)
HSVhsv(286, 79%, 40%)
CMYKcmyk(18.6%, 79.4%, 0%, 60%)
CIE-LABlab(21.34, 40.69, -33.81)
CIE-LCHlch(21.34, 52.91, 320.28°)
OKLaboklab(34% 0.1015 -0.0952)
OKLCHoklch(34% 0.139 316.8)
XYZxyz(6.2334, 3.3349, 12.8832)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531566 #286615
analogous
#2B1566 #531566 #661551
triadic
#531566 #665315 #156653
tetradic
#531566 #662B15 #286615 #155166
square
#531566 #662B15 #286615 #155166
split-complementary
#531566 #516615 #15662B
monochromatic
#150519 #2A0B33 #531566 #7C1F99 #A62ACC

Accessibility & contrast

On white

12.60
#531566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531566
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531566#FFFFFF#000000##FFFFFF
##5315661.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531566;
/* rgb */ color: rgb(83, 21, 102);
/* oklch */ color: oklch(34.0% 0.139 316.8);
Tailwind
colors: {
  custom: {
    50: '#875a92',
    500: '#531566',
    950: '#000000',
  },
}
SCSS
$custom: #531566;
$custom-light: #875a92;
$custom-dark: #000000;
JSON
{
  "hex": "#531566",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 285.926,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33996,
    "c": 0.13913,
    "h": 316.8
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#531566
secondary
#519D3A
accent
#E93F67
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531566

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

Preview Lab → · Contrast checker → · Palette generator →

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