#531B4E#531B4E

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

Color values

HEX#531B4E
RGBrgb(83, 27, 78)
HSLhsl(305, 51%, 22%)
HSVhsv(305, 67%, 33%)
CMYKcmyk(0%, 67.5%, 6%, 67.5%)
CIE-LABlab(20.73, 33.14, -18.80)
CIE-LCHlch(20.73, 38.10, 330.43°)
OKLaboklab(33.06% 0.0945 -0.0516)
OKLCHoklch(33.06% 0.108 331.4)
XYZxyz(5.3343, 3.1733, 7.5378)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B4E #1B5320
analogous
#3C1B53 #531B4E #531B32
triadic
#531B4E #4E531B #1B4E53
tetradic
#531B4E #533C1B #1B5320 #1B3253
square
#531B4E #533C1B #1B5320 #1B3253
split-complementary
#531B4E #32531B #1B533C
monochromatic
#170816 #250C23 #531B4E #812A79 #AF39A5

Accessibility & contrast

On white

12.85
#531B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#531B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B4E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B4E#FFFFFF#000000##FFFFFF
##531B4E1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531b4e;
/* rgb */ color: rgb(83, 27, 78);
/* oklch */ color: oklch(33.1% 0.108 331.4);
Tailwind
colors: {
  custom: {
    50: '#855c80',
    500: '#531b4e',
    950: '#000000',
  },
}
SCSS
$custom: #531b4e;
$custom-light: #855c80;
$custom-dark: #000000;
JSON
{
  "hex": "#531b4e",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 305.357,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33056,
    "c": 0.10765,
    "h": 331.4
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#531B4E
secondary
#418947
accent
#DA5A4D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #531B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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