#531C86#531C86

#531C86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.164 H 302.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#531C86
RGBrgb(83, 28, 134)
HSLhsl(271, 65%, 32%)
HSVhsv(271, 79%, 53%)
CMYKcmyk(38.1%, 79.1%, 0%, 47.5%)
CIE-LABlab(24.92, 45.30, -48.49)
CIE-LCHlch(24.92, 66.35, 313.05°)
OKLaboklab(37.33% 0.088 -0.1383)
OKLCHoklch(37.33% 0.164 302.5)
XYZxyz(8.2846, 4.3907, 22.9607)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C86 #4F861C
analogous
#1E1C86 #531C86 #861C84
triadic
#531C86 #86531C #1C8653
tetradic
#531C86 #861E1C #4F861C #1C8486
square
#531C86 #861E1C #4F861C #1C8486
split-complementary
#531C86 #84861C #1C861E
monochromatic
#140721 #341153 #531C86 #7227B9 #9144D8

Accessibility & contrast

On white

11.18
#531C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#531C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C86
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C86#FFFFFF#000000##FFFFFF
##531C861.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#483850
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531c86;
/* rgb */ color: rgb(83, 28, 134);
/* oklch */ color: oklch(37.3% 0.164 302.5);
Tailwind
colors: {
  custom: {
    50: '#895faa',
    500: '#531c86',
    950: '#000000',
  },
}
SCSS
$custom: #531c86;
$custom-light: #895faa;
$custom-dark: #000000;
JSON
{
  "hex": "#531c86",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 271.132,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37331,
    "c": 0.16395,
    "h": 302.5
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#531C86
secondary
#7DB945
accent
#E83F91
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531C86

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

Preview Lab → · Contrast checker → · Palette generator →

#531C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva