#531156#531156

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

Color values

HEX#531156
RGBrgb(83, 17, 86)
HSLhsl(297, 67%, 20%)
HSVhsv(297, 80%, 34%)
CMYKcmyk(3.5%, 80.2%, 0%, 66.3%)
CIE-LABlab(19.69, 38.94, -25.84)
CIE-LCHlch(19.69, 46.74, 326.44°)
OKLaboklab(32.46% 0.107 -0.0718)
OKLCHoklch(32.46% 0.129 326.1)
XYZxyz(5.4473, 2.9122, 9.0775)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531156 #145611
analogous
#301156 #531156 #561137
triadic
#531156 #565311 #115653
tetradic
#531156 #563011 #145611 #113756
square
#531156 #563011 #145611 #113756
split-complementary
#531156 #375611 #115630
monochromatic
#19051A #220723 #531156 #841B89 #B625BC

Accessibility & contrast

On white

13.27
#531156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#531156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531156
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531156#FFFFFF#000000##FFFFFF
##5311561.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#213254
Tritanopia (blue-blind)
#551D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531156;
/* rgb */ color: rgb(83, 17, 86);
/* oklch */ color: oklch(32.5% 0.129 326.1);
Tailwind
colors: {
  custom: {
    50: '#865786',
    500: '#531156',
    950: '#000000',
  },
}
SCSS
$custom: #531156;
$custom-light: #865786;
$custom-dark: #000000;
JSON
{
  "hex": "#531156",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 297.391,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32465,
    "c": 0.12889,
    "h": 326.1
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#531156
secondary
#388F34
accent
#EA3E45
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531156

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

Preview Lab → · Contrast checker → · Palette generator →

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