#56165D#56165D

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

Color values

HEX#56165D
RGBrgb(86, 22, 93)
HSLhsl(294, 62%, 23%)
HSVhsv(294, 76%, 36%)
CMYKcmyk(7.5%, 76.3%, 0%, 63.5%)
CIE-LABlab(21.37, 39.12, -27.80)
CIE-LCHlch(21.37, 47.99, 324.60°)
OKLaboklab(33.92% 0.1052 -0.0775)
OKLCHoklch(33.92% 0.131 323.6)
XYZxyz(6.1003, 3.3429, 10.6777)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56165D #1D5D16
analogous
#33165D #56165D #5D1640
triadic
#56165D #5D5616 #165D56
tetradic
#56165D #5D3316 #1D5D16 #16405D
square
#56165D #5D3316 #1D5D16 #16405D
split-complementary
#56165D #405D16 #165D33
monochromatic
#170619 #280A2C #56165D #84228E #B22DC0

Accessibility & contrast

On white

12.59
#56165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56165D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56165D#FFFFFF#000000##FFFFFF
##56165D1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012E5F
Deuteranopia (green-blind)
#22365B
Tritanopia (blue-blind)
#582238
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56165d;
/* rgb */ color: rgb(86, 22, 93);
/* oklch */ color: oklch(33.9% 0.131 323.6);
Tailwind
colors: {
  custom: {
    50: '#885a8b',
    500: '#56165d',
    950: '#000000',
  },
}
SCSS
$custom: #56165d;
$custom-light: #885a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#56165d",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 294.085,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33919,
    "c": 0.13069,
    "h": 323.6
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#56165D
secondary
#44943B
accent
#E54353
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56165D

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

Preview Lab → · Contrast checker → · Palette generator →

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