#531579#531579

#531579 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.158 H 308.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#531579
RGBrgb(83, 21, 121)
HSLhsl(277, 70%, 28%)
HSVhsv(277, 83%, 47%)
CMYKcmyk(31.4%, 82.6%, 0%, 52.5%)
CIE-LABlab(22.85, 44.95, -43.65)
CIE-LCHlch(22.85, 62.66, 315.84°)
OKLaboklab(35.53% 0.0976 -0.1241)
OKLCHoklch(35.53% 0.158 308.2)
XYZxyz(7.2859, 3.7559, 18.4266)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531579 #3B7915
analogous
#211579 #531579 #79156D
triadic
#531579 #795315 #157953
tetradic
#531579 #792115 #3B7915 #156D79
square
#531579 #792115 #3B7915 #156D79
split-complementary
#531579 #6D7915 #157921
monochromatic
#12051A #2F0C45 #531579 #771EAD #992EDB

Accessibility & contrast

On white

11.99
#531579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#531579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531579
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531579#FFFFFF#000000##FFFFFF
##5315791.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#4D2F47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531579;
/* rgb */ color: rgb(83, 21, 121);
/* oklch */ color: oklch(35.5% 0.158 308.2);
Tailwind
colors: {
  custom: {
    50: '#885ba0',
    500: '#531579',
    950: '#000000',
  },
}
SCSS
$custom: #531579;
$custom-light: #885ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#531579",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 277.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35533,
    "c": 0.15783,
    "h": 308.2
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#531579
secondary
#67AF3B
accent
#ED3B7E
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531579

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

Preview Lab → · Contrast checker → · Palette generator →

#531579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva