#531671#531671

#531671 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.149 H 311.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#531671
RGBrgb(83, 22, 113)
HSLhsl(280, 67%, 26%)
HSVhsv(280, 81%, 44%)
CMYKcmyk(26.5%, 80.5%, 0%, 55.7%)
CIE-LABlab(22.32, 42.74, -39.37)
CIE-LCHlch(22.32, 58.11, 317.35°)
OKLaboklab(34.96% 0.0986 -0.1115)
OKLCHoklch(34.96% 0.149 311.5)
XYZxyz(6.8343, 3.6053, 15.9554)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531671 #347116
analogous
#261671 #531671 #711662
triadic
#531671 #715316 #167153
tetradic
#531671 #712616 #347116 #166271
square
#531671 #712616 #347116 #166271
split-complementary
#531671 #627116 #167126
monochromatic
#13051A #2D0C3E #531671 #7920A4 #9E2CD6

Accessibility & contrast

On white

12.20
#531671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531671
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531671#FFFFFF#000000##FFFFFF
##5316711.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#03366F
Tritanopia (blue-blind)
#4F2C43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531671;
/* rgb */ color: rgb(83, 22, 113);
/* oklch */ color: oklch(35.0% 0.149 311.5);
Tailwind
colors: {
  custom: {
    50: '#875b9a',
    500: '#531671',
    950: '#000000',
  },
}
SCSS
$custom: #531671;
$custom-light: #875b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531671",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 280.22,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34957,
    "c": 0.14883,
    "h": 311.5
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#531671
secondary
#5FA73C
accent
#EA3E76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531671

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

Preview Lab → · Contrast checker → · Palette generator →

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