#56115A#56115A

#56115A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.134 H 325.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#56115A
RGBrgb(86, 17, 90)
HSLhsl(297, 68%, 21%)
HSVhsv(297, 81%, 35%)
CMYKcmyk(4.4%, 81.1%, 0%, 64.7%)
CIE-LABlab(20.51, 40.42, -27.18)
CIE-LCHlch(20.51, 48.70, 326.09°)
OKLaboklab(33.24% 0.1106 -0.0756)
OKLCHoklch(33.24% 0.134 325.6)
XYZxyz(5.8835, 3.1179, 9.9628)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56115A #155A11
analogous
#31115A #56115A #5A1139
triadic
#56115A #5A5611 #115A56
tetradic
#56115A #5A3111 #155A11 #11395A
square
#56115A #5A3111 #155A11 #11395A
split-complementary
#56115A #395A11 #115A31
monochromatic
#19051A #250727 #56115A #871B8D #B824C1

Accessibility & contrast

On white

12.93
#56115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#56115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56115A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56115A#FFFFFF#000000##FFFFFF
##56115A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#223458
Tritanopia (blue-blind)
#581E35
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56115a;
/* rgb */ color: rgb(86, 17, 90);
/* oklch */ color: oklch(33.2% 0.134 325.6);
Tailwind
colors: {
  custom: {
    50: '#895889',
    500: '#56115a',
    950: '#000000',
  },
}
SCSS
$custom: #56115a;
$custom-light: #895889;
$custom-dark: #000000;
JSON
{
  "hex": "#56115a",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 296.712,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33243,
    "c": 0.13396,
    "h": 325.6
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#56115A
secondary
#399334
accent
#EB3D46
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56115A

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

Preview Lab → · Contrast checker → · Palette generator →

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