#531048#531048

#531048 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.118 H 335.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#531048
RGBrgb(83, 16, 72)
HSLhsl(310, 68%, 19%)
HSVhsv(310, 81%, 33%)
CMYKcmyk(0%, 80.7%, 13.3%, 67.5%)
CIE-LABlab(18.70, 36.78, -17.88)
CIE-LCHlch(18.70, 40.90, 334.08°)
OKLaboklab(31.48% 0.1077 -0.0488)
OKLCHoklch(31.48% 0.118 335.6)
XYZxyz(4.9223, 2.6779, 6.3873)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531048 #10531B
analogous
#3D1053 #531048 #531027
triadic
#531048 #485310 #104853
tetradic
#531048 #533D10 #10531B #102753
square
#531048 #533D10 #10531B #102753
split-complementary
#531048 #275310 #10533D
monochromatic
#1A0516 #20061B #531048 #861A75 #BA24A1

Accessibility & contrast

On white

13.68
#531048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#531048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531048
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531048#FFFFFF#000000##FFFFFF
##5310481.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10274A
Deuteranopia (green-blind)
#283146
Tritanopia (blue-blind)
#58152B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #531048;
/* rgb */ color: rgb(83, 16, 72);
/* oklch */ color: oklch(31.5% 0.118 335.6);
Tailwind
colors: {
  custom: {
    50: '#86567b',
    500: '#531048',
    950: '#000000',
  },
}
SCSS
$custom: #531048;
$custom-light: #86567b;
$custom-dark: #000000;
JSON
{
  "hex": "#531048",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 309.851,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.11819,
    "h": 335.6
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#531048
secondary
#328D41
accent
#EB5A3D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #531048

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

Preview Lab → · Contrast checker → · Palette generator →

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