#531471#531471

#531471 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.151 H 311.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#531471
RGBrgb(83, 20, 113)
HSLhsl(281, 70%, 26%)
HSVhsv(281, 82%, 44%)
CMYKcmyk(26.5%, 82.3%, 0%, 55.7%)
CIE-LABlab(22.06, 43.50, -39.80)
CIE-LCHlch(22.06, 58.95, 317.54°)
OKLaboklab(34.77% 0.1004 -0.1127)
OKLCHoklch(34.77% 0.151 311.7)
XYZxyz(6.7975, 3.5318, 15.9432)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531471 #327114
analogous
#241471 #531471 #711460
triadic
#531471 #715314 #147153
tetradic
#531471 #712414 #327114 #146071
square
#531471 #712414 #327114 #146071
split-complementary
#531471 #607114 #147124
monochromatic
#13051A #2D0B3D #531471 #791DA5 #9F27D9

Accessibility & contrast

On white

12.31
#531471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#531471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531471
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531471#FFFFFF#000000##FFFFFF
##5314711.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#00366F
Tritanopia (blue-blind)
#4F2B43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531471;
/* rgb */ color: rgb(83, 20, 113);
/* oklch */ color: oklch(34.8% 0.151 311.7);
Tailwind
colors: {
  custom: {
    50: '#875a9a',
    500: '#531471',
    950: '#000000',
  },
}
SCSS
$custom: #531471;
$custom-light: #875a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531471",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 280.645,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.15096,
    "h": 311.7
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#531471
secondary
#5DA739
accent
#ED3B74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531471

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

Preview Lab → · Contrast checker → · Palette generator →

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