#56185D#56185D

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

Color values

HEX#56185D
RGBrgb(86, 24, 93)
HSLhsl(294, 59%, 23%)
HSVhsv(294, 74%, 36%)
CMYKcmyk(7.5%, 74.2%, 0%, 63.5%)
CIE-LABlab(21.66, 38.29, -27.33)
CIE-LCHlch(21.66, 47.04, 324.48°)
OKLaboklab(34.13% 0.1029 -0.0762)
OKLCHoklch(34.13% 0.128 323.5)
XYZxyz(6.1400, 3.4224, 10.6910)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56185D #1F5D18
analogous
#33185D #56185D #5D1841
triadic
#56185D #5D5618 #185D56
tetradic
#56185D #5D3318 #1F5D18 #18415D
square
#56185D #5D3318 #1F5D18 #18415D
split-complementary
#56185D #415D18 #185D33
monochromatic
#160618 #290B2C #56185D #83258E #B031BE

Accessibility & contrast

On white

12.47
#56185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56185D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56185D#FFFFFF#000000##FFFFFF
##56185D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042F5F
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#582438
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56185d;
/* rgb */ color: rgb(86, 24, 93);
/* oklch */ color: oklch(34.1% 0.128 323.5);
Tailwind
colors: {
  custom: {
    50: '#885b8b',
    500: '#56185d',
    950: '#000000',
  },
}
SCSS
$custom: #56185d;
$custom-light: #885b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#56185d",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 293.913,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34129,
    "c": 0.12805,
    "h": 323.5
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#56185D
secondary
#46933D
accent
#E24656
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56185D

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

Preview Lab → · Contrast checker → · Palette generator →

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