#531E79#531E79

#531E79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.148 H 307.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#531E79
RGBrgb(83, 30, 121)
HSLhsl(275, 60%, 30%)
HSVhsv(275, 75%, 47%)
CMYKcmyk(31.4%, 75.2%, 0%, 52.5%)
CIE-LABlab(24.16, 41.20, -41.52)
CIE-LCHlch(24.16, 58.50, 314.78°)
OKLaboklab(36.45% 0.089 -0.1179)
OKLCHoklch(36.45% 0.148 307)
XYZxyz(7.4820, 4.1481, 18.4920)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E79 #44791E
analogous
#261E79 #531E79 #791E72
triadic
#531E79 #79531E #1E7953
tetradic
#531E79 #79261E #44791E #1E7279
square
#531E79 #79261E #44791E #1E7279
split-complementary
#531E79 #72791E #1E7926
monochromatic
#110619 #311248 #531E79 #752AAA #9441D0

Accessibility & contrast

On white

11.48
#531E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#531E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E79
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E79#FFFFFF#000000##FFFFFF
##531E791.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#4D3349
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531e79;
/* rgb */ color: rgb(83, 30, 121);
/* oklch */ color: oklch(36.5% 0.148 307.0);
Tailwind
colors: {
  custom: {
    50: '#875fa0',
    500: '#531e79',
    950: '#000000',
  },
}
SCSS
$custom: #531e79;
$custom-light: #875fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#531e79",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 274.945,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36453,
    "c": 0.14769,
    "h": 307
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#531E79
secondary
#71AD46
accent
#E34487
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #531E79

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

Preview Lab → · Contrast checker → · Palette generator →

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