#56196D#56196D

#56196D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.142 H 314.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#56196D
RGBrgb(86, 25, 109)
HSLhsl(284, 63%, 26%)
HSVhsv(284, 77%, 43%)
CMYKcmyk(21.1%, 77.1%, 0%, 57.3%)
CIE-LABlab(22.92, 41.26, -35.79)
CIE-LCHlch(22.92, 54.62, 319.06°)
OKLaboklab(35.39% 0.1005 -0.1009)
OKLCHoklch(35.39% 0.142 314.9)
XYZxyz(6.9452, 3.7781, 14.8284)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56196D #306D19
analogous
#2C196D #56196D #6D195A
triadic
#56196D #6D5619 #196D56
tetradic
#56196D #6D2C19 #306D19 #195A6D
square
#56196D #6D2C19 #306D19 #195A6D
split-complementary
#56196D #5A6D19 #196D2C
monochromatic
#140619 #2F0E3B #56196D #7D249F #A431D0

Accessibility & contrast

On white

11.96
#56196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56196D
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56196D#FFFFFF#000000##FFFFFF
##56196D1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#15386B
Tritanopia (blue-blind)
#542B41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56196d;
/* rgb */ color: rgb(86, 25, 109);
/* oklch */ color: oklch(35.4% 0.142 314.9);
Tailwind
colors: {
  custom: {
    50: '#895d97',
    500: '#56196d',
    950: '#000000',
  },
}
SCSS
$custom: #56196d;
$custom-light: #895d97;
$custom-dark: #000000;
JSON
{
  "hex": "#56196d",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 283.571,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35385,
    "c": 0.14243,
    "h": 314.9
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#56196D
secondary
#5AA23F
accent
#E6426F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56196D

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

Preview Lab → · Contrast checker → · Palette generator →

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