#56196F#56196F

#56196F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.144 H 313.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#56196F
RGBrgb(86, 25, 111)
HSLhsl(283, 63%, 27%)
HSVhsv(283, 77%, 44%)
CMYKcmyk(22.5%, 77.5%, 0%, 56.5%)
CIE-LABlab(23.07, 41.71, -36.84)
CIE-LCHlch(23.07, 55.65, 318.54°)
OKLaboklab(35.54% 0.1002 -0.104)
OKLCHoklch(35.54% 0.144 313.9)
XYZxyz(7.0541, 3.8216, 15.4019)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56196F #326F19
analogous
#2B196F #56196F #6F195D
triadic
#56196F #6F5619 #196F56
tetradic
#56196F #6F2B19 #326F19 #195D6F
square
#56196F #6F2B19 #326F19 #195D6F
split-complementary
#56196F #5D6F19 #196F2B
monochromatic
#130619 #2F0E3D #56196F #7D24A1 #A332D1

Accessibility & contrast

On white

11.90
#56196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#56196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56196F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56196F#FFFFFF#000000##FFFFFF
##56196F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#13386D
Tritanopia (blue-blind)
#542C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56196f;
/* rgb */ color: rgb(86, 25, 111);
/* oklch */ color: oklch(35.5% 0.144 313.9);
Tailwind
colors: {
  custom: {
    50: '#895d99',
    500: '#56196f',
    950: '#000000',
  },
}
SCSS
$custom: #56196f;
$custom-light: #895d99;
$custom-dark: #000000;
JSON
{
  "hex": "#56196f",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 282.558,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.14442,
    "h": 313.9
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#56196F
secondary
#5DA43F
accent
#E64271
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56196F

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

Preview Lab → · Contrast checker → · Palette generator →

#56196F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva