#531F86#531F86

#531F86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.161 H 302.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#531F86
RGBrgb(83, 31, 134)
HSLhsl(270, 62%, 32%)
HSVhsv(270, 77%, 53%)
CMYKcmyk(38.1%, 76.9%, 0%, 47.5%)
CIE-LABlab(25.38, 43.98, -47.74)
CIE-LCHlch(25.38, 64.91, 312.66°)
OKLaboklab(37.65% 0.0852 -0.1362)
OKLCHoklch(37.65% 0.161 302)
XYZxyz(8.3593, 4.5402, 22.9856)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F86 #52861F
analogous
#1F1F86 #531F86 #861F86
triadic
#531F86 #86531F #1F8653
tetradic
#531F86 #861F1F #52861F #1F8686
square
#531F86 #861F1F #52861F #1F8686
split-complementary
#531F86 #86861F #1F861F
monochromatic
#150823 #341454 #531F86 #722AB8 #904AD5

Accessibility & contrast

On white

11.01
#531F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#531F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531F86
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F86#FFFFFF#000000##FFFFFF
##531F861.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#483951
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531f86;
/* rgb */ color: rgb(83, 31, 134);
/* oklch */ color: oklch(37.7% 0.161 302.0);
Tailwind
colors: {
  custom: {
    50: '#8960aa',
    500: '#531f86',
    950: '#000000',
  },
}
SCSS
$custom: #531f86;
$custom-light: #8960aa;
$custom-dark: #000000;
JSON
{
  "hex": "#531f86",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 270.291,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.16062,
    "h": 302
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#531F86
secondary
#80B849
accent
#E54293
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531F86

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

Preview Lab → · Contrast checker → · Palette generator →

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