#56165E#56165E

#56165E is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.132 H 323.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#56165E
RGBrgb(86, 22, 94)
HSLhsl(293, 62%, 23%)
HSVhsv(293, 77%, 37%)
CMYKcmyk(8.5%, 76.6%, 0%, 63.1%)
CIE-LABlab(21.43, 39.32, -28.36)
CIE-LCHlch(21.43, 48.48, 324.20°)
OKLaboklab(33.99% 0.1052 -0.0791)
OKLCHoklch(33.99% 0.132 323)
XYZxyz(6.1448, 3.3608, 10.9125)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56165E #1E5E16
analogous
#32165E #56165E #5E1642
triadic
#56165E #5E5616 #165E56
tetradic
#56165E #5E3216 #1E5E16 #16425E
square
#56165E #5E3216 #1E5E16 #16425E
split-complementary
#56165E #425E16 #165E32
monochromatic
#170619 #290A2C #56165E #832290 #B12DC1

Accessibility & contrast

On white

12.56
#56165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56165E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56165E#FFFFFF#000000##FFFFFF
##56165E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#572338
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56165e;
/* rgb */ color: rgb(86, 22, 94);
/* oklch */ color: oklch(34.0% 0.132 323.0);
Tailwind
colors: {
  custom: {
    50: '#885a8c',
    500: '#56165e',
    950: '#000000',
  },
}
SCSS
$custom: #56165e;
$custom-light: #885a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#56165e",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 293.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33988,
    "c": 0.13162,
    "h": 323
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#56165E
secondary
#45953B
accent
#E54355
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56165E

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

Preview Lab → · Contrast checker → · Palette generator →

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