#56196A#56196A

#56196A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.139 H 316.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#56196A
RGBrgb(86, 25, 106)
HSLhsl(285, 62%, 26%)
HSVhsv(285, 76%, 42%)
CMYKcmyk(18.9%, 76.4%, 0%, 58.4%)
CIE-LABlab(22.70, 40.60, -34.20)
CIE-LCHlch(22.70, 53.08, 319.89°)
OKLaboklab(35.16% 0.1009 -0.0962)
OKLCHoklch(35.16% 0.139 316.4)
XYZxyz(6.7865, 3.7146, 13.9924)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56196A #2D6A19
analogous
#2D196A #56196A #6A1955
triadic
#56196A #6A5619 #196A56
tetradic
#56196A #6A2D19 #2D6A19 #19556A
square
#56196A #6A2D19 #2D6A19 #19556A
split-complementary
#56196A #556A19 #196A2D
monochromatic
#140619 #2E0D38 #56196A #7E259C #A630CD

Accessibility & contrast

On white

12.05
#56196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#56196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56196A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56196A#FFFFFF#000000##FFFFFF
##56196A1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#193868
Tritanopia (blue-blind)
#552A40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #56196a;
/* rgb */ color: rgb(86, 25, 106);
/* oklch */ color: oklch(35.2% 0.139 316.4);
Tailwind
colors: {
  custom: {
    50: '#895c95',
    500: '#56196a',
    950: '#000000',
  },
}
SCSS
$custom: #56196a;
$custom-light: #895c95;
$custom-dark: #000000;
JSON
{
  "hex": "#56196a",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 285.185,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.13943,
    "h": 316.4
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#56196A
secondary
#57A03F
accent
#E5436B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56196A

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

Preview Lab → · Contrast checker → · Palette generator →

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