#531B79#531B79

#531B79 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.151 H 307.5°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#531B79
RGBrgb(83, 27, 121)
HSLhsl(276, 64%, 29%)
HSVhsv(276, 78%, 47%)
CMYKcmyk(31.4%, 77.7%, 0%, 52.5%)
CIE-LABlab(23.68, 42.55, -42.29)
CIE-LCHlch(23.68, 59.99, 315.17°)
OKLaboklab(36.12% 0.092 -0.1201)
OKLCHoklch(36.12% 0.151 307.5)
XYZxyz(7.4097, 4.0034, 18.4678)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B79 #41791B
analogous
#241B79 #531B79 #791B70
triadic
#531B79 #79531B #1B7953
tetradic
#531B79 #79241B #41791B #1B7079
square
#531B79 #79241B #41791B #1B7079
split-complementary
#531B79 #70791B #1B7924
monochromatic
#110619 #311047 #531B79 #7526AB #963BD3

Accessibility & contrast

On white

11.66
#531B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#531B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B79
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B79#FFFFFF#000000##FFFFFF
##531B791.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#4D3249
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531b79;
/* rgb */ color: rgb(83, 27, 121);
/* oklch */ color: oklch(36.1% 0.151 307.5);
Tailwind
colors: {
  custom: {
    50: '#885ea0',
    500: '#531b79',
    950: '#000000',
  },
}
SCSS
$custom: #531b79;
$custom-light: #885ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#531b79",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 275.745,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36119,
    "c": 0.15134,
    "h": 307.5
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#531B79
secondary
#6EAD43
accent
#E74184
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #531B79

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

Preview Lab → · Contrast checker → · Palette generator →

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