#531072#531072

#531072 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.5% C 0.156 H 311.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#531072
RGBrgb(83, 16, 114)
HSLhsl(281, 75%, 25%)
HSVhsv(281, 86%, 45%)
CMYKcmyk(27.2%, 86%, 0%, 55.3%)
CIE-LABlab(21.67, 45.09, -41.07)
CIE-LCHlch(21.67, 60.99, 317.67°)
OKLaboklab(34.53% 0.1034 -0.1165)
OKLCHoklch(34.53% 0.156 311.6)
XYZxyz(6.7893, 3.4247, 16.2197)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531072 #2F7210
analogous
#221072 #531072 #721060
triadic
#531072 #725310 #107253
tetradic
#531072 #722210 #2F7210 #106072
square
#531072 #722210 #2F7210 #106072
split-complementary
#531072 #607210 #107222
monochromatic
#14041B #2C083C #531072 #7A18A8 #A11FDD

Accessibility & contrast

On white

12.46
#531072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#531072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531072
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531072#FFFFFF#000000##FFFFFF
##5310721.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#4F2A42
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531072;
/* rgb */ color: rgb(83, 16, 114);
/* oklch */ color: oklch(34.5% 0.156 311.6);
Tailwind
colors: {
  custom: {
    50: '#88599b',
    500: '#531072',
    950: '#000000',
  },
}
SCSS
$custom: #531072;
$custom-light: #88599b;
$custom-dark: #000000;
JSON
{
  "hex": "#531072",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 281.02,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34527,
    "c": 0.15575,
    "h": 311.6
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#531072
secondary
#59A934
accent
#F23671
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531072

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

Preview Lab → · Contrast checker → · Palette generator →

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