#531C87#531C87

#531C87 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.165 H 302.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#531C87
RGBrgb(83, 28, 135)
HSLhsl(271, 66%, 32%)
HSVhsv(271, 79%, 53%)
CMYKcmyk(38.5%, 79.3%, 0%, 47.1%)
CIE-LABlab(25.01, 45.55, -48.97)
CIE-LCHlch(25.01, 66.88, 312.93°)
OKLaboklab(37.42% 0.0877 -0.1398)
OKLCHoklch(37.42% 0.165 302.1)
XYZxyz(8.3547, 4.4187, 23.3297)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C87 #50871C
analogous
#1E1C87 #531C87 #871C86
triadic
#531C87 #87531C #1C8753
tetradic
#531C87 #871E1C #50871C #1C8687
square
#531C87 #871E1C #50871C #1C8687
split-complementary
#531C87 #86871C #1C871E
monochromatic
#150722 #341154 #531C87 #7227BA #9145D8

Accessibility & contrast

On white

11.15
#531C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531C87
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C87#FFFFFF#000000##FFFFFF
##531C871.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#483851
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531c87;
/* rgb */ color: rgb(83, 28, 135);
/* oklch */ color: oklch(37.4% 0.165 302.1);
Tailwind
colors: {
  custom: {
    50: '#895fab',
    500: '#531c87',
    950: '#000000',
  },
}
SCSS
$custom: #531c87;
$custom-light: #895fab;
$custom-dark: #000000;
JSON
{
  "hex": "#531c87",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 270.841,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37419,
    "c": 0.16501,
    "h": 302.1
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#531C87
secondary
#7EBA45
accent
#E93F92
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531C87

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

Preview Lab → · Contrast checker → · Palette generator →

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