#56165F#56165F

#56165F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.133 H 322.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#56165F
RGBrgb(86, 22, 95)
HSLhsl(293, 62%, 23%)
HSVhsv(293, 77%, 37%)
CMYKcmyk(9.5%, 76.8%, 0%, 62.7%)
CIE-LABlab(21.50, 39.52, -28.91)
CIE-LCHlch(21.50, 48.97, 323.81°)
OKLaboklab(34.06% 0.1051 -0.0807)
OKLCHoklch(34.06% 0.133 322.5)
XYZxyz(6.1900, 3.3788, 11.1504)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56165F #1F5F16
analogous
#31165F #56165F #5F1643
triadic
#56165F #5F5616 #165F56
tetradic
#56165F #5F3116 #1F5F16 #16435F
square
#56165F #5F3116 #1F5F16 #16435F
split-complementary
#56165F #435F16 #165F31
monochromatic
#160619 #290A2D #56165F #832291 #B02DC2

Accessibility & contrast

On white

12.53
#56165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#56165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56165F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56165F#FFFFFF#000000##FFFFFF
##56165F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#21365D
Tritanopia (blue-blind)
#572339
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56165f;
/* rgb */ color: rgb(86, 22, 95);
/* oklch */ color: oklch(34.1% 0.133 322.5);
Tailwind
colors: {
  custom: {
    50: '#885a8d',
    500: '#56165f',
    950: '#000000',
  },
}
SCSS
$custom: #56165f;
$custom-light: #885a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#56165f",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 292.603,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34057,
    "c": 0.13256,
    "h": 322.5
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#56165F
secondary
#46963B
accent
#E54256
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56165F

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

Preview Lab → · Contrast checker → · Palette generator →

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