#531066#531066

#531066 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.145 H 317.2°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#531066
RGBrgb(83, 16, 102)
HSLhsl(287, 73%, 23%)
HSVhsv(287, 84%, 40%)
CMYKcmyk(18.6%, 84.3%, 0%, 60%)
CIE-LABlab(20.71, 42.51, -34.82)
CIE-LCHlch(20.71, 54.95, 320.67°)
OKLaboklab(33.55% 0.1061 -0.0981)
OKLCHoklch(33.55% 0.145 317.2)
XYZxyz(6.1505, 3.1692, 12.8555)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531066 #236610
analogous
#281066 #531066 #66104E
triadic
#531066 #665310 #106653
tetradic
#531066 #662810 #236610 #104E66
square
#531066 #662810 #236610 #104E66
split-complementary
#531066 #4E6610 #106628
monochromatic
#16041A #280831 #531066 #7E189B #A921D0

Accessibility & contrast

On white

12.85
#531066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#531066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531066
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531066#FFFFFF#000000##FFFFFF
##5310661.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#123464
Tritanopia (blue-blind)
#52243B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531066;
/* rgb */ color: rgb(83, 16, 102);
/* oklch */ color: oklch(33.6% 0.145 317.2);
Tailwind
colors: {
  custom: {
    50: '#875892',
    500: '#531066',
    950: '#000000',
  },
}
SCSS
$custom: #531066;
$custom-light: #875892;
$custom-dark: #000000;
JSON
{
  "hex": "#531066",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 286.744,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.14454,
    "h": 317.2
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#531066
secondary
#4B9E33
accent
#F03861
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531066

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

Preview Lab → · Contrast checker → · Palette generator →

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