#531151#531151

#531151 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.124 H 329.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#531151
RGBrgb(83, 17, 81)
HSLhsl(302, 66%, 20%)
HSVhsv(302, 80%, 33%)
CMYKcmyk(0%, 79.5%, 2.4%, 67.5%)
CIE-LABlab(19.37, 38.01, -22.97)
CIE-LCHlch(19.37, 44.41, 328.85°)
OKLaboklab(32.13% 0.1071 -0.0635)
OKLCHoklch(32.13% 0.125 329.3)
XYZxyz(5.2529, 2.8344, 8.0534)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531151 #115313
analogous
#341153 #531151 #531130
triadic
#531151 #515311 #115153
tetradic
#531151 #533411 #115313 #113053
square
#531151 #533411 #115313 #113053
split-complementary
#531151 #305311 #115334
monochromatic
#190519 #20071F #531151 #861B83 #B926B4

Accessibility & contrast

On white

13.40
#531151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531151
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531151#FFFFFF#000000##FFFFFF
##5311511.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072953
Deuteranopia (green-blind)
#24324F
Tritanopia (blue-blind)
#561A30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #531151;
/* rgb */ color: rgb(83, 17, 81);
/* oklch */ color: oklch(32.1% 0.124 329.3);
Tailwind
colors: {
  custom: {
    50: '#865782',
    500: '#531151',
    950: '#000000',
  },
}
SCSS
$custom: #531151;
$custom-light: #865782;
$custom-dark: #000000;
JSON
{
  "hex": "#531151",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 301.818,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32133,
    "c": 0.1245,
    "h": 329.3
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#531151
secondary
#348C36
accent
#E9443F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #531151

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

Preview Lab → · Contrast checker → · Palette generator →

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