#531E87#531E87

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

Color values

HEX#531E87
RGBrgb(83, 30, 135)
HSLhsl(270, 64%, 32%)
HSVhsv(270, 78%, 53%)
CMYKcmyk(38.5%, 77.8%, 0%, 47.1%)
CIE-LABlab(25.31, 44.68, -48.48)
CIE-LCHlch(25.31, 65.93, 312.67°)
OKLaboklab(37.63% 0.0859 -0.1383)
OKLCHoklch(37.63% 0.163 301.8)
XYZxyz(8.4037, 4.5168, 23.3461)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E87 #52871E
analogous
#1F1E87 #531E87 #871E86
triadic
#531E87 #87531E #1E8753
tetradic
#531E87 #871F1E #52871E #1E8687
square
#531E87 #871F1E #52871E #1E8687
split-complementary
#531E87 #86871E #1E871F
monochromatic
#150823 #341355 #531E87 #7229B9 #9049D7

Accessibility & contrast

On white

11.03
#531E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531E87
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E87#FFFFFF#000000##FFFFFF
##531E871.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531e87;
/* rgb */ color: rgb(83, 30, 135);
/* oklch */ color: oklch(37.6% 0.163 301.8);
Tailwind
colors: {
  custom: {
    50: '#8960ab',
    500: '#531e87',
    950: '#000000',
  },
}
SCSS
$custom: #531e87;
$custom-light: #8960ab;
$custom-dark: #000000;
JSON
{
  "hex": "#531e87",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 270.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3763,
    "c": 0.16284,
    "h": 301.8
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#531E87
secondary
#80B948
accent
#E74193
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E87

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

Preview Lab → · Contrast checker → · Palette generator →

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