#531A79#531A79

#531A79 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.152 H 307.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#531A79
RGBrgb(83, 26, 121)
HSLhsl(276, 65%, 29%)
HSVhsv(276, 79%, 47%)
CMYKcmyk(31.4%, 78.5%, 0%, 52.5%)
CIE-LABlab(23.53, 42.97, -42.53)
CIE-LCHlch(23.53, 60.46, 315.30°)
OKLaboklab(36.01% 0.093 -0.1208)
OKLCHoklch(36.01% 0.153 307.6)
XYZxyz(7.3871, 3.9584, 18.4603)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A79 #40791A
analogous
#241A79 #531A79 #791A70
triadic
#531A79 #79531A #1A7953
tetradic
#531A79 #79241A #40791A #1A7079
square
#531A79 #79241A #40791A #1A7079
split-complementary
#531A79 #70791A #1A7924
monochromatic
#110519 #300F47 #531A79 #7625AB #9639D4

Accessibility & contrast

On white

11.72
#531A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#531A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A79
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A79#FFFFFF#000000##FFFFFF
##531A791.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531a79;
/* rgb */ color: rgb(83, 26, 121);
/* oklch */ color: oklch(36.0% 0.152 307.6);
Tailwind
colors: {
  custom: {
    50: '#885da0',
    500: '#531a79',
    950: '#000000',
  },
}
SCSS
$custom: #531a79;
$custom-light: #885da0;
$custom-dark: #000000;
JSON
{
  "hex": "#531a79",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 276,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.1525,
    "h": 307.6
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#531A79
secondary
#6DAD41
accent
#E84083
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #531A79

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

Preview Lab → · Contrast checker → · Palette generator →

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