#531256#531256

#531256 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.128 H 326.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#531256
RGBrgb(83, 18, 86)
HSLhsl(297, 65%, 20%)
HSVhsv(297, 79%, 34%)
CMYKcmyk(3.5%, 79.1%, 0%, 66.3%)
CIE-LABlab(19.82, 38.58, -25.63)
CIE-LCHlch(19.82, 46.32, 326.40°)
OKLaboklab(32.56% 0.106 -0.0712)
OKLCHoklch(32.56% 0.128 326.1)
XYZxyz(5.4632, 2.9439, 9.0828)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531256 #155612
analogous
#311256 #531256 #561237
triadic
#531256 #565312 #125653
tetradic
#531256 #563112 #155612 #123756
square
#531256 #563112 #155612 #123756
split-complementary
#531256 #375612 #125631
monochromatic
#180519 #220723 #531256 #841D89 #B527BB

Accessibility & contrast

On white

13.22
#531256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#531256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531256
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531256#FFFFFF#000000##FFFFFF
##5312561.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B58
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#551D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531256;
/* rgb */ color: rgb(83, 18, 86);
/* oklch */ color: oklch(32.6% 0.128 326.1);
Tailwind
colors: {
  custom: {
    50: '#865886',
    500: '#531256',
    950: '#000000',
  },
}
SCSS
$custom: #531256;
$custom-light: #865886;
$custom-dark: #000000;
JSON
{
  "hex": "#531256",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 297.353,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32557,
    "c": 0.1277,
    "h": 326.1
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#531256
secondary
#398F35
accent
#E83F47
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531256

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

Preview Lab → · Contrast checker → · Palette generator →

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