#56195D#56195D

#56195D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.127 H 323.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#56195D
RGBrgb(86, 25, 93)
HSLhsl(294, 58%, 23%)
HSVhsv(294, 73%, 36%)
CMYKcmyk(7.5%, 73.1%, 0%, 63.5%)
CIE-LABlab(21.82, 37.85, -27.09)
CIE-LCHlch(21.82, 46.55, 324.41°)
OKLaboklab(34.24% 0.1018 -0.0754)
OKLCHoklch(34.24% 0.127 323.4)
XYZxyz(6.1610, 3.4644, 10.6980)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56195D #205D19
analogous
#34195D #56195D #5D1942
triadic
#56195D #5D5619 #195D56
tetradic
#56195D #5D3419 #205D19 #19425D
square
#56195D #5D3419 #205D19 #19425D
split-complementary
#56195D #425D19 #195D34
monochromatic
#160618 #290C2D #56195D #83268D #AF33BD

Accessibility & contrast

On white

12.41
#56195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#56195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56195D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56195D#FFFFFF#000000##FFFFFF
##56195D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07305F
Deuteranopia (green-blind)
#24375B
Tritanopia (blue-blind)
#582439
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56195d;
/* rgb */ color: rgb(86, 25, 93);
/* oklch */ color: oklch(34.2% 0.127 323.4);
Tailwind
colors: {
  custom: {
    50: '#885c8b',
    500: '#56195d',
    950: '#000000',
  },
}
SCSS
$custom: #56195d;
$custom-light: #885c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#56195d",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 293.824,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.12668,
    "h": 323.4
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#56195D
secondary
#47933F
accent
#E14757
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56195D

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

Preview Lab → · Contrast checker → · Palette generator →

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