#531F83#531F83

#531F83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.157 H 303.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#531F83
RGBrgb(83, 31, 131)
HSLhsl(271, 62%, 32%)
HSVhsv(271, 76%, 51%)
CMYKcmyk(36.6%, 76.3%, 0%, 48.6%)
CIE-LABlab(25.13, 43.23, -46.27)
CIE-LCHlch(25.13, 63.32, 313.05°)
OKLaboklab(37.4% 0.0859 -0.1318)
OKLCHoklch(37.4% 0.157 303.1)
XYZxyz(8.1530, 4.4577, 21.8992)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F83 #4F831F
analogous
#211F83 #531F83 #831F81
triadic
#531F83 #83531F #1F8353
tetradic
#531F83 #83211F #4F831F #1F8183
square
#531F83 #83211F #4F831F #1F8183
split-complementary
#531F83 #81831F #1F8321
monochromatic
#140820 #341352 #531F83 #722BB4 #9149D4

Accessibility & contrast

On white

11.10
#531F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#531F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531F83
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F83#FFFFFF#000000##FFFFFF
##531F831.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#49384F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531f83;
/* rgb */ color: rgb(83, 31, 131);
/* oklch */ color: oklch(37.4% 0.157 303.1);
Tailwind
colors: {
  custom: {
    50: '#8860a8',
    500: '#531f83',
    950: '#000000',
  },
}
SCSS
$custom: #531f83;
$custom-light: #8860a8;
$custom-dark: #000000;
JSON
{
  "hex": "#531f83",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 271.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37398,
    "c": 0.15736,
    "h": 303.1
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#531F83
secondary
#7DB648
accent
#E54391
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531F83

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

Preview Lab → · Contrast checker → · Palette generator →

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