#531C4E#531C4E

#531C4E is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.106 H 331.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#531C4E
RGBrgb(83, 28, 78)
HSLhsl(305, 50%, 22%)
HSVhsv(305, 66%, 33%)
CMYKcmyk(0%, 66.3%, 6%, 67.5%)
CIE-LABlab(20.90, 32.64, -18.52)
CIE-LCHlch(20.90, 37.53, 330.43°)
OKLaboklab(33.19% 0.0931 -0.0508)
OKLCHoklch(33.19% 0.106 331.4)
XYZxyz(5.3577, 3.2200, 7.5456)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C4E #1C5321
analogous
#3D1C53 #531C4E #531C33
triadic
#531C4E #4E531C #1C4E53
tetradic
#531C4E #533D1C #1C5321 #1C3353
square
#531C4E #533D1C #1C5321 #1C3353
split-complementary
#531C4E #33531C #1C533D
monochromatic
#170816 #250D23 #531C4E #812B79 #AF3BA4

Accessibility & contrast

On white

12.77
#531C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#531C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C4E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C4E#FFFFFF#000000##FFFFFF
##531C4E1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D50
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#562132
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531c4e;
/* rgb */ color: rgb(83, 28, 78);
/* oklch */ color: oklch(33.2% 0.106 331.4);
Tailwind
colors: {
  custom: {
    50: '#855c7f',
    500: '#531c4e',
    950: '#000000',
  },
}
SCSS
$custom: #531c4e;
$custom-light: #855c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#531c4e",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 305.455,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33186,
    "c": 0.10602,
    "h": 331.4
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#531C4E
secondary
#428949
accent
#D95B4F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #531C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#531C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva