#531F85#531F85

#531F85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.160 H 302.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#531F85
RGBrgb(83, 31, 133)
HSLhsl(271, 62%, 32%)
HSVhsv(271, 77%, 52%)
CMYKcmyk(37.6%, 76.7%, 0%, 47.8%)
CIE-LABlab(25.30, 43.73, -47.25)
CIE-LCHlch(25.30, 64.38, 312.79°)
OKLaboklab(37.57% 0.0854 -0.1347)
OKLCHoklch(37.57% 0.16 302.4)
XYZxyz(8.2899, 4.5124, 22.6200)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F85 #51851F
analogous
#201F85 #531F85 #851F84
triadic
#531F85 #85531F #1F8553
tetradic
#531F85 #85201F #51851F #1F8485
square
#531F85 #85201F #51851F #1F8485
split-complementary
#531F85 #84851F #1F8520
monochromatic
#150822 #341353 #531F85 #722BB7 #914AD5

Accessibility & contrast

On white

11.04
#531F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#531F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531F85
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F85#FFFFFF#000000##FFFFFF
##531F851.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#483950
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531f85;
/* rgb */ color: rgb(83, 31, 133);
/* oklch */ color: oklch(37.6% 0.160 302.4);
Tailwind
colors: {
  custom: {
    50: '#8860a9',
    500: '#531f85',
    950: '#000000',
  },
}
SCSS
$custom: #531f85;
$custom-light: #8860a9;
$custom-dark: #000000;
JSON
{
  "hex": "#531f85",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 270.588,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37568,
    "c": 0.15954,
    "h": 302.4
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#531F85
secondary
#7FB749
accent
#E54392
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531F85

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

Preview Lab → · Contrast checker → · Palette generator →

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