#531167#531167

#531167 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.144 H 316.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#531167
RGBrgb(83, 17, 103)
HSLhsl(286, 72%, 24%)
HSVhsv(286, 83%, 40%)
CMYKcmyk(19.4%, 83.5%, 0%, 59.6%)
CIE-LABlab(20.90, 42.38, -35.17)
CIE-LCHlch(20.90, 55.07, 320.31°)
OKLaboklab(33.71% 0.1051 -0.0991)
OKLCHoklch(33.71% 0.144 316.7)
XYZxyz(6.2155, 3.2194, 13.1233)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531167 #256711
analogous
#281167 #531167 #671150
triadic
#531167 #675311 #116753
tetradic
#531167 #672811 #256711 #115067
square
#531167 #672811 #256711 #115067
split-complementary
#531167 #506711 #116728
monochromatic
#15041A #290832 #531167 #7D1A9C #A822D0

Accessibility & contrast

On white

12.78
#531167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#531167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531167
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531167#FFFFFF#000000##FFFFFF
##5311671.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#52253C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531167;
/* rgb */ color: rgb(83, 17, 103);
/* oklch */ color: oklch(33.7% 0.144 316.7);
Tailwind
colors: {
  custom: {
    50: '#875893',
    500: '#531167',
    950: '#000000',
  },
}
SCSS
$custom: #531167;
$custom-light: #875893;
$custom-dark: #000000;
JSON
{
  "hex": "#531167",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 286.047,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33712,
    "c": 0.14447,
    "h": 316.7
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#531167
secondary
#4D9F35
accent
#EE3963
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531167

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

Preview Lab → · Contrast checker → · Palette generator →

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