#531870#531870

#531870 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.146 H 311.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#531870
RGBrgb(83, 24, 112)
HSLhsl(280, 65%, 27%)
HSVhsv(280, 79%, 44%)
CMYKcmyk(25.9%, 78.6%, 0%, 56.1%)
CIE-LABlab(22.52, 41.71, -38.40)
CIE-LCHlch(22.52, 56.69, 317.36°)
OKLaboklab(35.07% 0.0968 -0.1087)
OKLCHoklch(35.07% 0.146 311.7)
XYZxyz(6.8180, 3.6623, 15.6738)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531870 #357018
analogous
#271870 #531870 #701861
triadic
#531870 #705318 #187053
tetradic
#531870 #702718 #357018 #186170
square
#531870 #702718 #357018 #186170
split-complementary
#531870 #617018 #187027
monochromatic
#130519 #2E0D3E #531870 #7823A2 #9D30D3

Accessibility & contrast

On white

12.12
#531870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#531870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531870
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531870#FFFFFF#000000##FFFFFF
##5318701.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#09376E
Tritanopia (blue-blind)
#4F2C43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531870;
/* rgb */ color: rgb(83, 24, 112);
/* oklch */ color: oklch(35.1% 0.146 311.7);
Tailwind
colors: {
  custom: {
    50: '#875c9a',
    500: '#531870',
    950: '#000000',
  },
}
SCSS
$custom: #531870;
$custom-light: #875c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531870",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 280.227,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.14555,
    "h": 311.7
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#531870
secondary
#60A53E
accent
#E84077
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531870

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

Preview Lab → · Contrast checker → · Palette generator →

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