#56156E#56156E

#56156E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.148 H 314.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#56156E
RGBrgb(86, 21, 110)
HSLhsl(284, 68%, 26%)
HSVhsv(284, 81%, 43%)
CMYKcmyk(21.8%, 80.9%, 0%, 56.9%)
CIE-LABlab(22.45, 43.06, -37.21)
CIE-LCHlch(22.45, 56.91, 319.17°)
OKLaboklab(35.07% 0.1043 -0.105)
OKLCHoklch(35.07% 0.148 314.8)
XYZxyz(6.9199, 3.6408, 15.0871)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56156E #2D6E15
analogous
#29156E #56156E #6E1559
triadic
#56156E #6E5615 #156E56
tetradic
#56156E #6E2915 #2D6E15 #15596E
square
#56156E #6E2915 #2D6E15 #15596E
split-complementary
#56156E #596E15 #156E29
monochromatic
#14051A #2E0B3B #56156E #7E1FA1 #A629D5

Accessibility & contrast

On white

12.15
#56156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#56156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56156E
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56156E#FFFFFF#000000##FFFFFF
##56156E1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#10376C
Tritanopia (blue-blind)
#542A41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #56156e;
/* rgb */ color: rgb(86, 21, 110);
/* oklch */ color: oklch(35.1% 0.148 314.8);
Tailwind
colors: {
  custom: {
    50: '#895b98',
    500: '#56156e',
    950: '#000000',
  },
}
SCSS
$custom: #56156e;
$custom-light: #895b98;
$custom-dark: #000000;
JSON
{
  "hex": "#56156e",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 283.82,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.14804,
    "h": 314.8
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#56156E
secondary
#57A43A
accent
#EB3D6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56156E

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

Preview Lab → · Contrast checker → · Palette generator →

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