#531D79#531D79

#531D79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.149 H 307.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#531D79
RGBrgb(83, 29, 121)
HSLhsl(275, 61%, 29%)
HSVhsv(275, 76%, 47%)
CMYKcmyk(31.4%, 76%, 0%, 52.5%)
CIE-LABlab(23.99, 41.66, -41.79)
CIE-LCHlch(23.99, 59.01, 314.92°)
OKLaboklab(36.34% 0.09 -0.1187)
OKLCHoklch(36.34% 0.149 307.2)
XYZxyz(7.4571, 4.0983, 18.4837)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D79 #43791D
analogous
#251D79 #531D79 #791D71
triadic
#531D79 #79531D #1D7953
tetradic
#531D79 #79251D #43791D #1D7179
square
#531D79 #79251D #43791D #1D7179
split-complementary
#531D79 #71791D #1D7925
monochromatic
#110619 #311148 #531D79 #7529AA #953FD1

Accessibility & contrast

On white

11.54
#531D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#531D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D79
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D79#FFFFFF#000000##FFFFFF
##531D791.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#4D3349
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531d79;
/* rgb */ color: rgb(83, 29, 121);
/* oklch */ color: oklch(36.3% 0.149 307.2);
Tailwind
colors: {
  custom: {
    50: '#875fa0',
    500: '#531d79',
    950: '#000000',
  },
}
SCSS
$custom: #531d79;
$custom-light: #875fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#531d79",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 275.217,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.14894,
    "h": 307.2
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#531D79
secondary
#70AD45
accent
#E44386
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #531D79

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

Preview Lab → · Contrast checker → · Palette generator →

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