#531670#531670

#531670 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.148 H 311.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#531670
RGBrgb(83, 22, 112)
HSLhsl(281, 67%, 26%)
HSVhsv(281, 80%, 44%)
CMYKcmyk(25.9%, 80.4%, 0%, 56.1%)
CIE-LABlab(22.24, 42.51, -38.85)
CIE-LCHlch(22.24, 57.59, 317.57°)
OKLaboklab(34.88% 0.0988 -0.11)
OKLCHoklch(34.88% 0.148 311.9)
XYZxyz(6.7783, 3.5829, 15.6606)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531670 #337016
analogous
#261670 #531670 #701660
triadic
#531670 #705316 #167053
tetradic
#531670 #702616 #337016 #166070
square
#531670 #702616 #337016 #166070
split-complementary
#531670 #607016 #167026
monochromatic
#13051A #2D0C3D #531670 #7920A3 #9E2BD5

Accessibility & contrast

On white

12.23
#531670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#531670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531670
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531670#FFFFFF#000000##FFFFFF
##5316701.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#06366E
Tritanopia (blue-blind)
#4F2B42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531670;
/* rgb */ color: rgb(83, 22, 112);
/* oklch */ color: oklch(34.9% 0.148 311.9);
Tailwind
colors: {
  custom: {
    50: '#875b9a',
    500: '#531670',
    950: '#000000',
  },
}
SCSS
$custom: #531670;
$custom-light: #875b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531670",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 280.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34876,
    "c": 0.14784,
    "h": 311.9
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#531670
secondary
#5EA63C
accent
#EA3E75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531670

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

Preview Lab → · Contrast checker → · Palette generator →

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