#56196E#56196E

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

Color values

HEX#56196E
RGBrgb(86, 25, 110)
HSLhsl(283, 63%, 26%)
HSVhsv(283, 77%, 43%)
CMYKcmyk(21.8%, 77.3%, 0%, 56.9%)
CIE-LABlab(23.00, 41.48, -36.32)
CIE-LCHlch(23.00, 55.13, 318.80°)
OKLaboklab(35.46% 0.1004 -0.1025)
OKLCHoklch(35.46% 0.143 314.4)
XYZxyz(6.9994, 3.7997, 15.1135)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56196E #316E19
analogous
#2C196E #56196E #6E195C
triadic
#56196E #6E5619 #196E56
tetradic
#56196E #6E2C19 #316E19 #195C6E
square
#56196E #6E2C19 #316E19 #195C6E
split-complementary
#56196E #5C6E19 #196E2C
monochromatic
#130619 #2F0E3C #56196E #7D24A0 #A331D0

Accessibility & contrast

On white

11.93
#56196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56196E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56196E#FFFFFF#000000##FFFFFF
##56196E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#14386C
Tritanopia (blue-blind)
#542C42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56196e;
/* rgb */ color: rgb(86, 25, 110);
/* oklch */ color: oklch(35.5% 0.143 314.4);
Tailwind
colors: {
  custom: {
    50: '#895d98',
    500: '#56196e',
    950: '#000000',
  },
}
SCSS
$custom: #56196e;
$custom-light: #895d98;
$custom-dark: #000000;
JSON
{
  "hex": "#56196e",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 283.059,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.14342,
    "h": 314.4
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#56196E
secondary
#5CA33F
accent
#E64270
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56196E

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

Preview Lab → · Contrast checker → · Palette generator →

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