#56185C#56185C

#56185C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.127 H 324.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#56185C
RGBrgb(86, 24, 92)
HSLhsl(295, 59%, 23%)
HSVhsv(295, 74%, 36%)
CMYKcmyk(6.5%, 73.9%, 0%, 63.9%)
CIE-LABlab(21.60, 38.09, -26.77)
CIE-LCHlch(21.60, 46.55, 324.89°)
OKLaboklab(34.06% 0.103 -0.0745)
OKLCHoklch(34.06% 0.127 324.1)
XYZxyz(6.0960, 3.4048, 10.4592)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56185C #1E5C18
analogous
#34185C #56185C #5C1840
triadic
#56185C #5C5618 #185C56
tetradic
#56185C #5C3418 #1E5C18 #18405C
square
#56185C #5C3418 #1E5C18 #18405C
split-complementary
#56185C #405C18 #185C34
monochromatic
#170618 #290B2B #56185C #83258D #B131BD

Accessibility & contrast

On white

12.49
#56185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#56185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56185C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56185C#FFFFFF#000000##FFFFFF
##56185C1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062F5E
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#582338
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56185c;
/* rgb */ color: rgb(86, 24, 92);
/* oklch */ color: oklch(34.1% 0.127 324.1);
Tailwind
colors: {
  custom: {
    50: '#885b8a',
    500: '#56185c',
    950: '#000000',
  },
}
SCSS
$custom: #56185c;
$custom-light: #885b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#56185c",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 294.706,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.1271,
    "h": 324.1
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#56185C
secondary
#45933D
accent
#E24654
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56185C

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

Preview Lab → · Contrast checker → · Palette generator →

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