#531F80#531F80

#531F80 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.154 H 304.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#531F80
RGBrgb(83, 31, 128)
HSLhsl(272, 61%, 31%)
HSVhsv(272, 76%, 50%)
CMYKcmyk(35.2%, 75.8%, 0%, 49.8%)
CIE-LABlab(24.88, 42.47, -44.78)
CIE-LCHlch(24.88, 61.72, 313.49°)
OKLaboklab(37.15% 0.0865 -0.1275)
OKLCHoklch(37.15% 0.154 304.2)
XYZxyz(7.9527, 4.3775, 20.8439)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F80 #4C801F
analogous
#221F80 #531F80 #801F7C
triadic
#531F80 #80531F #1F8053
tetradic
#531F80 #80221F #4C801F #1F7C80
square
#531F80 #80221F #4C801F #1F7C80
split-complementary
#531F80 #7C801F #1F8022
monochromatic
#13071D #33134F #531F80 #732BB1 #9247D2

Accessibility & contrast

On white

11.20
#531F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#531F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531F80
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F80#FFFFFF#000000##FFFFFF
##531F801.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531f80;
/* rgb */ color: rgb(83, 31, 128);
/* oklch */ color: oklch(37.1% 0.154 304.2);
Tailwind
colors: {
  custom: {
    50: '#8860a6',
    500: '#531f80',
    950: '#000000',
  },
}
SCSS
$custom: #531f80;
$custom-light: #8860a6;
$custom-dark: #000000;
JSON
{
  "hex": "#531f80",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 272.165,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37145,
    "c": 0.15408,
    "h": 304.2
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#531F80
secondary
#7AB348
accent
#E4448E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531F80

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

Preview Lab → · Contrast checker → · Palette generator →

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