#56195A#56195A

#56195A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.124 H 325.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#56195A
RGBrgb(86, 25, 90)
HSLhsl(296, 57%, 23%)
HSVhsv(296, 72%, 35%)
CMYKcmyk(4.4%, 72.2%, 0%, 64.7%)
CIE-LABlab(21.62, 37.25, -25.40)
CIE-LCHlch(21.62, 45.09, 325.71°)
OKLaboklab(34.04% 0.1018 -0.0705)
OKLCHoklch(34.04% 0.124 325.3)
XYZxyz(6.0307, 3.4123, 10.0119)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56195A #1D5A19
analogous
#36195A #56195A #5A193D
triadic
#56195A #5A5619 #195A56
tetradic
#56195A #5A3619 #1D5A19 #193D5A
square
#56195A #5A3619 #1D5A19 #193D5A
split-complementary
#56195A #3D5A19 #195A36
monochromatic
#170718 #280C2A #56195A #84268A #B234BA

Accessibility & contrast

On white

12.48
#56195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#56195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56195A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56195A#FFFFFF#000000##FFFFFF
##56195A1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#263658
Tritanopia (blue-blind)
#582337
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56195a;
/* rgb */ color: rgb(86, 25, 90);
/* oklch */ color: oklch(34.0% 0.124 325.3);
Tailwind
colors: {
  custom: {
    50: '#885c89',
    500: '#56195a',
    950: '#000000',
  },
}
SCSS
$custom: #56195a;
$custom-light: #885c89;
$custom-dark: #000000;
JSON
{
  "hex": "#56195a",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 296.308,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.12382,
    "h": 325.3
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#56195A
secondary
#44903E
accent
#E04851
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56195A

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

Preview Lab → · Contrast checker → · Palette generator →

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