#56165B#56165B

#56165B is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.129 H 324.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#56165B
RGBrgb(86, 22, 91)
HSLhsl(296, 61%, 22%)
HSVhsv(296, 76%, 36%)
CMYKcmyk(5.5%, 75.8%, 0%, 64.3%)
CIE-LABlab(21.24, 38.72, -26.68)
CIE-LCHlch(21.24, 47.02, 325.43°)
OKLaboklab(33.78% 0.1053 -0.0742)
OKLCHoklch(33.78% 0.129 324.8)
XYZxyz(6.0128, 3.3080, 10.2173)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56165B #1B5B16
analogous
#34165B #56165B #5B163E
triadic
#56165B #5B5616 #165B56
tetradic
#56165B #5B3416 #1B5B16 #163E5B
square
#56165B #5B3416 #1B5B16 #163E5B
split-complementary
#56165B #3E5B16 #165B34
monochromatic
#170619 #270A2A #56165B #85228C #B32EBE

Accessibility & contrast

On white

12.64
#56165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#56165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56165B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56165B#FFFFFF#000000##FFFFFF
##56165B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5D
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#582237
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56165b;
/* rgb */ color: rgb(86, 22, 91);
/* oklch */ color: oklch(33.8% 0.129 324.8);
Tailwind
colors: {
  custom: {
    50: '#885a8a',
    500: '#56165b',
    950: '#000000',
  },
}
SCSS
$custom: #56165b;
$custom-light: #885a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#56165b",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 295.652,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33783,
    "c": 0.12882,
    "h": 324.8
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#56165B
secondary
#41923B
accent
#E4444F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56165B

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

Preview Lab → · Contrast checker → · Palette generator →

#56165B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva