#56185E#56185E

#56185E is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.129 H 322.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#56185E
RGBrgb(86, 24, 94)
HSLhsl(293, 59%, 23%)
HSVhsv(293, 74%, 37%)
CMYKcmyk(8.5%, 74.5%, 0%, 63.1%)
CIE-LABlab(21.73, 38.49, -27.89)
CIE-LCHlch(21.73, 47.53, 324.07°)
OKLaboklab(34.2% 0.1029 -0.0778)
OKLCHoklch(34.2% 0.129 322.9)
XYZxyz(6.1846, 3.4402, 10.9258)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56185E #205E18
analogous
#33185E #56185E #5E1843
triadic
#56185E #5E5618 #185E56
tetradic
#56185E #5E3318 #205E18 #18435E
square
#56185E #5E3318 #205E18 #18435E
split-complementary
#56185E #435E18 #185E33
monochromatic
#160618 #290C2D #56185E #83248F #AF31C0

Accessibility & contrast

On white

12.44
#56185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#56185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56185E
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56185E#FFFFFF#000000##FFFFFF
##56185E1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032F60
Deuteranopia (green-blind)
#23365C
Tritanopia (blue-blind)
#572439
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56185e;
/* rgb */ color: rgb(86, 24, 94);
/* oklch */ color: oklch(34.2% 0.129 322.9);
Tailwind
colors: {
  custom: {
    50: '#885b8c',
    500: '#56185e',
    950: '#000000',
  },
}
SCSS
$custom: #56185e;
$custom-light: #885b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#56185e",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 293.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34197,
    "c": 0.129,
    "h": 322.9
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#56185E
secondary
#47943D
accent
#E34557
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56185E

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

Preview Lab → · Contrast checker → · Palette generator →

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