#56185A#56185A

#56185A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.125 H 325.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#56185A
RGBrgb(86, 24, 90)
HSLhsl(296, 58%, 22%)
HSVhsv(296, 73%, 35%)
CMYKcmyk(4.4%, 73.3%, 0%, 64.7%)
CIE-LABlab(21.47, 37.69, -25.65)
CIE-LCHlch(21.47, 45.59, 325.76°)
OKLaboklab(33.93% 0.103 -0.0712)
OKLCHoklch(33.93% 0.125 325.3)
XYZxyz(6.0097, 3.3703, 10.0049)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56185A #1C5A18
analogous
#35185A #56185A #5A183D
triadic
#56185A #5A5618 #185A56
tetradic
#56185A #5A3518 #1C5A18 #183D5A
square
#56185A #5A3518 #1C5A18 #183D5A
split-complementary
#56185A #3D5A18 #185A35
monochromatic
#170618 #280B2A #56185A #84258A #B232BB

Accessibility & contrast

On white

12.54
#56185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#56185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56185A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56185A#FFFFFF#000000##FFFFFF
##56185A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5C
Deuteranopia (green-blind)
#253658
Tritanopia (blue-blind)
#582237
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56185a;
/* rgb */ color: rgb(86, 24, 90);
/* oklch */ color: oklch(33.9% 0.125 325.3);
Tailwind
colors: {
  custom: {
    50: '#885b89',
    500: '#56185a',
    950: '#000000',
  },
}
SCSS
$custom: #56185a;
$custom-light: #885b89;
$custom-dark: #000000;
JSON
{
  "hex": "#56185a",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 296.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33929,
    "c": 0.12521,
    "h": 325.3
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#56185A
secondary
#42913D
accent
#E14750
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56185A

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

Preview Lab → · Contrast checker → · Palette generator →

#56185A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva