#531366#531366

#531366 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.141 H 317.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#531366
RGBrgb(83, 19, 102)
HSLhsl(286, 69%, 24%)
HSVhsv(286, 81%, 40%)
CMYKcmyk(18.6%, 81.4%, 0%, 60%)
CIE-LABlab(21.07, 41.46, -34.24)
CIE-LCHlch(21.07, 53.77, 320.45°)
OKLaboklab(33.81% 0.1034 -0.0964)
OKLCHoklch(33.81% 0.141 317)
XYZxyz(6.1981, 3.2643, 12.8714)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531366 #266613
analogous
#291366 #531366 #66134F
triadic
#531366 #665313 #136653
tetradic
#531366 #662913 #266613 #134F66
square
#531366 #662913 #266613 #134F66
split-complementary
#531366 #4F6613 #136629
monochromatic
#15051A #290932 #531366 #7D1D9A #A726CD

Accessibility & contrast

On white

12.71
#531366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#531366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531366
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531366#FFFFFF#000000##FFFFFF
##5313661.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#143464
Tritanopia (blue-blind)
#52253C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #531366;
/* rgb */ color: rgb(83, 19, 102);
/* oklch */ color: oklch(33.8% 0.141 317.0);
Tailwind
colors: {
  custom: {
    50: '#875992',
    500: '#531366',
    950: '#000000',
  },
}
SCSS
$custom: #531366;
$custom-light: #875992;
$custom-dark: #000000;
JSON
{
  "hex": "#531366",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 286.265,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33808,
    "c": 0.1414,
    "h": 317
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#531366
secondary
#4F9D37
accent
#EB3C64
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531366

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

Preview Lab → · Contrast checker → · Palette generator →

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