#531071#531071

#531071 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.155 H 312.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#531071
RGBrgb(83, 16, 113)
HSLhsl(281, 75%, 25%)
HSVhsv(281, 86%, 44%)
CMYKcmyk(26.5%, 85.8%, 0%, 55.7%)
CIE-LABlab(21.59, 44.87, -40.56)
CIE-LCHlch(21.59, 60.48, 317.88°)
OKLaboklab(34.44% 0.1037 -0.115)
OKLCHoklch(34.44% 0.155 312)
XYZxyz(6.7326, 3.4020, 15.9216)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531071 #2E7110
analogous
#221071 #531071 #71105F
triadic
#531071 #715310 #107153
tetradic
#531071 #712210 #2E7110 #105F71
square
#531071 #712210 #2E7110 #105F71
split-complementary
#531071 #5F7110 #107122
monochromatic
#14041B #2C083B #531071 #7A18A7 #A21FDC

Accessibility & contrast

On white

12.50
#531071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531071
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531071#FFFFFF#000000##FFFFFF
##5310711.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#4F2942
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531071;
/* rgb */ color: rgb(83, 16, 113);
/* oklch */ color: oklch(34.4% 0.155 312.0);
Tailwind
colors: {
  custom: {
    50: '#88599a',
    500: '#531071',
    950: '#000000',
  },
}
SCSS
$custom: #531071;
$custom-light: #88599a;
$custom-dark: #000000;
JSON
{
  "hex": "#531071",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 281.443,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34443,
    "c": 0.15482,
    "h": 312
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#531071
secondary
#58A934
accent
#F23670
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531071

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

Preview Lab → · Contrast checker → · Palette generator →

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