#531E80#531E80

#531E80 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.155 H 304.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#531E80
RGBrgb(83, 30, 128)
HSLhsl(272, 62%, 31%)
HSVhsv(272, 77%, 50%)
CMYKcmyk(35.2%, 76.6%, 0%, 49.8%)
CIE-LABlab(24.72, 42.93, -45.04)
CIE-LCHlch(24.72, 62.22, 313.63°)
OKLaboklab(37.03% 0.0875 -0.1282)
OKLCHoklch(37.03% 0.155 304.3)
XYZxyz(7.9269, 4.3261, 20.8353)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E80 #4B801E
analogous
#221E80 #531E80 #801E7C
triadic
#531E80 #80531E #1E8053
tetradic
#531E80 #80221E #4B801E #1E7C80
square
#531E80 #80221E #4B801E #1E7C80
split-complementary
#531E80 #7C801E #1E8022
monochromatic
#13071D #33124E #531E80 #732AB2 #9245D3

Accessibility & contrast

On white

11.26
#531E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#531E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E80
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E80#FFFFFF#000000##FFFFFF
##531E801.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#4A364D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531e80;
/* rgb */ color: rgb(83, 30, 128);
/* oklch */ color: oklch(37.0% 0.155 304.3);
Tailwind
colors: {
  custom: {
    50: '#8860a6',
    500: '#531e80',
    950: '#000000',
  },
}
SCSS
$custom: #531e80;
$custom-light: #8860a6;
$custom-dark: #000000;
JSON
{
  "hex": "#531e80",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 272.449,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.15527,
    "h": 304.3
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#531E80
secondary
#78B347
accent
#E5438D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531E80

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

Preview Lab → · Contrast checker → · Palette generator →

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