#56195B#56195B

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

Color values

HEX#56195B
RGBrgb(86, 25, 91)
HSLhsl(295, 57%, 23%)
HSVhsv(295, 73%, 36%)
CMYKcmyk(5.5%, 72.5%, 0%, 64.3%)
CIE-LABlab(21.69, 37.45, -25.97)
CIE-LCHlch(21.69, 45.57, 325.27°)
OKLaboklab(34.11% 0.1018 -0.0722)
OKLCHoklch(34.11% 0.125 324.7)
XYZxyz(6.0736, 3.4294, 10.2375)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56195B #1E5B19
analogous
#35195B #56195B #5B193F
triadic
#56195B #5B5619 #195B56
tetradic
#56195B #5B3519 #1E5B19 #193F5B
square
#56195B #5B3519 #1E5B19 #193F5B
split-complementary
#56195B #3F5B19 #195B35
monochromatic
#170718 #290C2B #56195B #83268B #B133BB

Accessibility & contrast

On white

12.46
#56195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56195B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56195B#FFFFFF#000000##FFFFFF
##56195B1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5D
Deuteranopia (green-blind)
#253759
Tritanopia (blue-blind)
#582338
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56195b;
/* rgb */ color: rgb(86, 25, 91);
/* oklch */ color: oklch(34.1% 0.125 324.7);
Tailwind
colors: {
  custom: {
    50: '#885c8a',
    500: '#56195b',
    950: '#000000',
  },
}
SCSS
$custom: #56195b;
$custom-light: #885c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#56195b",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 295.455,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34107,
    "c": 0.12477,
    "h": 324.7
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#56195B
secondary
#45913F
accent
#E04853
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56195B

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

Preview Lab → · Contrast checker → · Palette generator →

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