#531152#531152

#531152 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.125 H 328.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#531152
RGBrgb(83, 17, 82)
HSLhsl(301, 66%, 20%)
HSVhsv(301, 80%, 33%)
CMYKcmyk(0%, 79.5%, 1.2%, 67.5%)
CIE-LABlab(19.43, 38.19, -23.55)
CIE-LCHlch(19.43, 44.87, 328.34°)
OKLaboklab(32.2% 0.1071 -0.0652)
OKLCHoklch(32.2% 0.125 328.7)
XYZxyz(5.2907, 2.8495, 8.2524)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531152 #115312
analogous
#331153 #531152 #531131
triadic
#531152 #525311 #115253
tetradic
#531152 #533311 #115312 #113153
square
#531152 #533311 #115312 #113153
split-complementary
#531152 #315311 #115333
monochromatic
#190519 #200720 #531152 #861B84 #B926B6

Accessibility & contrast

On white

13.38
#531152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531152
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531152#FFFFFF#000000##FFFFFF
##5311521.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A54
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#561B30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #531152;
/* rgb */ color: rgb(83, 17, 82);
/* oklch */ color: oklch(32.2% 0.125 328.7);
Tailwind
colors: {
  custom: {
    50: '#865783',
    500: '#531152',
    950: '#000000',
  },
}
SCSS
$custom: #531152;
$custom-light: #865783;
$custom-dark: #000000;
JSON
{
  "hex": "#531152",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 300.909,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.12536,
    "h": 328.7
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#531152
secondary
#348C35
accent
#E9413F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #531152

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

Preview Lab → · Contrast checker → · Palette generator →

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