#56185B#56185B

#56185B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.126 H 324.7°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#56185B
RGBrgb(86, 24, 91)
HSLhsl(296, 58%, 23%)
HSVhsv(296, 74%, 36%)
CMYKcmyk(5.5%, 73.6%, 0%, 64.3%)
CIE-LABlab(21.53, 37.89, -26.21)
CIE-LCHlch(21.53, 46.07, 325.32°)
OKLaboklab(34% 0.103 -0.0729)
OKLCHoklch(34% 0.126 324.7)
XYZxyz(6.0526, 3.3874, 10.2305)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56185B #1D5B18
analogous
#34185B #56185B #5B183F
triadic
#56185B #5B5618 #185B56
tetradic
#56185B #5B3418 #1D5B18 #183F5B
square
#56185B #5B3418 #1D5B18 #183F5B
split-complementary
#56185B #3F5B18 #185B34
monochromatic
#170618 #280B2B #56185B #84258B #B232BC

Accessibility & contrast

On white

12.52
#56185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56185B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56185B#FFFFFF#000000##FFFFFF
##56185B1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5D
Deuteranopia (green-blind)
#253659
Tritanopia (blue-blind)
#582337
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56185b;
/* rgb */ color: rgb(86, 24, 91);
/* oklch */ color: oklch(34.0% 0.126 324.7);
Tailwind
colors: {
  custom: {
    50: '#885b8a',
    500: '#56185b',
    950: '#000000',
  },
}
SCSS
$custom: #56185b;
$custom-light: #885b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#56185b",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 295.522,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33996,
    "c": 0.12616,
    "h": 324.7
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#56185B
secondary
#44923D
accent
#E14652
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56185B

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

Preview Lab → · Contrast checker → · Palette generator →

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