#531856#531856

#531856 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.120 H 325.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#531856
RGBrgb(83, 24, 86)
HSLhsl(297, 56%, 22%)
HSVhsv(297, 72%, 34%)
CMYKcmyk(3.5%, 72.1%, 0%, 66.3%)
CIE-LABlab(20.69, 36.10, -24.24)
CIE-LCHlch(20.69, 43.49, 326.12°)
OKLaboklab(33.18% 0.0991 -0.0673)
OKLCHoklch(33.18% 0.12 325.8)
XYZxyz(5.5735, 3.1645, 9.1195)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531856 #1B5618
analogous
#341856 #531856 #56183A
triadic
#531856 #565318 #185653
tetradic
#531856 #563418 #1B5618 #183A56
square
#531856 #563418 #1B5618 #183A56
split-complementary
#531856 #3A5618 #185634
monochromatic
#170718 #250B26 #531856 #812586 #AF33B6

Accessibility & contrast

On white

12.86
#531856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#531856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531856
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531856#FFFFFF#000000##FFFFFF
##5318561.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2D58
Deuteranopia (green-blind)
#253454
Tritanopia (blue-blind)
#552135
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531856;
/* rgb */ color: rgb(83, 24, 86);
/* oklch */ color: oklch(33.2% 0.120 325.8);
Tailwind
colors: {
  custom: {
    50: '#865b86',
    500: '#531856',
    950: '#000000',
  },
}
SCSS
$custom: #531856;
$custom-light: #865b86;
$custom-dark: #000000;
JSON
{
  "hex": "#531856",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 297.097,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33184,
    "c": 0.11975,
    "h": 325.8
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#531856
secondary
#418D3D
accent
#E0484F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531856

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

Preview Lab → · Contrast checker → · Palette generator →

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