#56165C#56165C

#56165C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.130 H 324.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#56165C
RGBrgb(86, 22, 92)
HSLhsl(295, 61%, 22%)
HSVhsv(295, 76%, 36%)
CMYKcmyk(6.5%, 76.1%, 0%, 63.9%)
CIE-LABlab(21.30, 38.92, -27.24)
CIE-LCHlch(21.30, 47.51, 325.01°)
OKLaboklab(33.85% 0.1053 -0.0759)
OKLCHoklch(33.85% 0.13 324.2)
XYZxyz(6.0563, 3.3253, 10.4460)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56165C #1C5C16
analogous
#33165C #56165C #5C163F
triadic
#56165C #5C5616 #165C56
tetradic
#56165C #5C3316 #1C5C16 #163F5C
square
#56165C #5C3316 #1C5C16 #163F5C
split-complementary
#56165C #3F5C16 #165C33
monochromatic
#170619 #280A2B #56165C #84228D #B22EBF

Accessibility & contrast

On white

12.61
#56165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#56165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56165C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56165C#FFFFFF#000000##FFFFFF
##56165C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5E
Deuteranopia (green-blind)
#23365A
Tritanopia (blue-blind)
#582237
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56165c;
/* rgb */ color: rgb(86, 22, 92);
/* oklch */ color: oklch(33.9% 0.130 324.2);
Tailwind
colors: {
  custom: {
    50: '#885a8a',
    500: '#56165c',
    950: '#000000',
  },
}
SCSS
$custom: #56165c;
$custom-light: #885a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#56165c",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 294.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33851,
    "c": 0.12976,
    "h": 324.2
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#56165C
secondary
#42933B
accent
#E54351
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56165C

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

Preview Lab → · Contrast checker → · Palette generator →

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