#56197A#56197A

#56197A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.156 H 309.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#56197A
RGBrgb(86, 25, 122)
HSLhsl(278, 66%, 29%)
HSVhsv(278, 80%, 48%)
CMYKcmyk(29.5%, 79.5%, 0%, 52.2%)
CIE-LABlab(23.93, 44.21, -42.50)
CIE-LCHlch(23.93, 61.33, 316.13°)
OKLaboklab(36.42% 0.0981 -0.1206)
OKLCHoklch(36.42% 0.156 309.1)
XYZxyz(7.6975, 4.0790, 18.7904)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56197A #3D7A19
analogous
#26197A #56197A #7A196E
triadic
#56197A #7A5619 #197A56
tetradic
#56197A #7A2619 #3D7A19 #196E7A
square
#56197A #7A2619 #3D7A19 #196E7A
split-complementary
#56197A #6E7A19 #197A26
monochromatic
#120519 #320F47 #56197A #7A23AD #9B37D6

Accessibility & contrast

On white

11.57
#56197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#56197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56197A
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56197A#FFFFFF#000000##FFFFFF
##56197A1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#513149
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #56197a;
/* rgb */ color: rgb(86, 25, 122);
/* oklch */ color: oklch(36.4% 0.156 309.1);
Tailwind
colors: {
  custom: {
    50: '#8a5da1',
    500: '#56197a',
    950: '#000000',
  },
}
SCSS
$custom: #56197a;
$custom-light: #8a5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#56197a",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 277.732,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36415,
    "c": 0.15551,
    "h": 309.1
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#56197A
secondary
#69AF40
accent
#E93F7E
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #56197A

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

Preview Lab → · Contrast checker → · Palette generator →

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