#56196B#56196B

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

Color values

HEX#56196B
RGBrgb(86, 25, 107)
HSLhsl(285, 62%, 26%)
HSVhsv(285, 77%, 42%)
CMYKcmyk(19.6%, 76.6%, 0%, 58%)
CIE-LABlab(22.78, 40.82, -34.73)
CIE-LCHlch(22.78, 53.59, 319.61°)
OKLaboklab(35.24% 0.1008 -0.0978)
OKLCHoklch(35.24% 0.14 315.9)
XYZxyz(6.8388, 3.7355, 14.2678)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56196B #2E6B19
analogous
#2D196B #56196B #6B1957
triadic
#56196B #6B5619 #196B56
tetradic
#56196B #6B2D19 #2E6B19 #19576B
square
#56196B #6B2D19 #2E6B19 #19576B
split-complementary
#56196B #576B19 #196B2D
monochromatic
#140619 #2E0D39 #56196B #7E259D #A630CE

Accessibility & contrast

On white

12.02
#56196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#56196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56196B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56196B#FFFFFF#000000##FFFFFF
##56196B1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56196b;
/* rgb */ color: rgb(86, 25, 107);
/* oklch */ color: oklch(35.2% 0.140 315.9);
Tailwind
colors: {
  custom: {
    50: '#895c96',
    500: '#56196b',
    950: '#000000',
  },
}
SCSS
$custom: #56196b;
$custom-light: #895c96;
$custom-dark: #000000;
JSON
{
  "hex": "#56196b",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 284.634,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35235,
    "c": 0.14043,
    "h": 315.9
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#56196B
secondary
#58A13F
accent
#E5436C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56196B

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

Preview Lab → · Contrast checker → · Palette generator →

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