#56175D#56175D

#56175D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.129 H 323.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#56175D
RGBrgb(86, 23, 93)
HSLhsl(294, 60%, 23%)
HSVhsv(294, 75%, 36%)
CMYKcmyk(7.5%, 75.3%, 0%, 63.5%)
CIE-LABlab(21.51, 38.71, -27.57)
CIE-LCHlch(21.51, 47.52, 324.54°)
OKLaboklab(34.02% 0.1041 -0.0768)
OKLCHoklch(34.02% 0.129 323.6)
XYZxyz(6.1198, 3.3819, 10.6842)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56175D #1E5D17
analogous
#33175D #56175D #5D1741
triadic
#56175D #5D5617 #175D56
tetradic
#56175D #5D3317 #1E5D17 #17415D
square
#56175D #5D3317 #1E5D17 #17415D
split-complementary
#56175D #415D17 #175D33
monochromatic
#170619 #290B2C #56175D #83238E #B12FBF

Accessibility & contrast

On white

12.53
#56175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56175D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56175D#FFFFFF#000000##FFFFFF
##56175D1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56175d;
/* rgb */ color: rgb(86, 23, 93);
/* oklch */ color: oklch(34.0% 0.129 323.6);
Tailwind
colors: {
  custom: {
    50: '#885b8b',
    500: '#56175d',
    950: '#000000',
  },
}
SCSS
$custom: #56175d;
$custom-light: #885b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#56175d",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 294,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34023,
    "c": 0.12939,
    "h": 323.6
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#56175D
secondary
#45943C
accent
#E34454
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56175D

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

Preview Lab → · Contrast checker → · Palette generator →

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