#531251#531251

#531251 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.123 H 329.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#531251
RGBrgb(83, 18, 81)
HSLhsl(302, 64%, 20%)
HSVhsv(302, 78%, 33%)
CMYKcmyk(0%, 78.3%, 2.4%, 67.5%)
CIE-LABlab(19.50, 37.63, -22.77)
CIE-LCHlch(19.50, 43.98, 328.83°)
OKLaboklab(32.23% 0.106 -0.0629)
OKLCHoklch(32.23% 0.123 329.3)
XYZxyz(5.2687, 2.8661, 8.0587)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531251 #125314
analogous
#351253 #531251 #531231
triadic
#531251 #515312 #125153
tetradic
#531251 #533512 #125314 #123153
square
#531251 #533512 #125314 #123153
split-complementary
#531251 #315312 #125335
monochromatic
#190519 #210720 #531251 #851D82 #B828B3

Accessibility & contrast

On white

13.35
#531251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#531251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531251
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531251#FFFFFF#000000##FFFFFF
##5312511.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A53
Deuteranopia (green-blind)
#25324F
Tritanopia (blue-blind)
#561B30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #531251;
/* rgb */ color: rgb(83, 18, 81);
/* oklch */ color: oklch(32.2% 0.123 329.3);
Tailwind
colors: {
  custom: {
    50: '#865882',
    500: '#531251',
    950: '#000000',
  },
}
SCSS
$custom: #531251;
$custom-light: #865882;
$custom-dark: #000000;
JSON
{
  "hex": "#531251",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 81
  },
  "hsl": {
    "h": 301.846,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32227,
    "c": 0.12327,
    "h": 329.3
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#531251
secondary
#358C38
accent
#E74640
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #531251

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

Preview Lab → · Contrast checker → · Palette generator →

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