#56115F#56115F

#56115F is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.138 H 322.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#56115F
RGBrgb(86, 17, 95)
HSLhsl(293, 70%, 22%)
HSVhsv(293, 82%, 37%)
CMYKcmyk(9.5%, 82.1%, 0%, 62.7%)
CIE-LABlab(20.85, 41.39, -29.96)
CIE-LCHlch(20.85, 51.09, 324.10°)
OKLaboklab(33.59% 0.1102 -0.0838)
OKLCHoklch(33.59% 0.138 322.8)
XYZxyz(6.1036, 3.2059, 11.1216)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56115F #1A5F11
analogous
#2F115F #56115F #5F1141
triadic
#56115F #5F5611 #115F56
tetradic
#56115F #5F2F11 #1A5F11 #11415F
square
#56115F #5F2F11 #1A5F11 #11415F
split-complementary
#56115F #415F11 #115F2F
monochromatic
#17051A #27082B #56115F #851A93 #B424C7

Accessibility & contrast

On white

12.80
#56115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#56115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56115F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56115F#FFFFFF#000000##FFFFFF
##56115F1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#572038
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56115f;
/* rgb */ color: rgb(86, 17, 95);
/* oklch */ color: oklch(33.6% 0.138 322.8);
Tailwind
colors: {
  custom: {
    50: '#89588d',
    500: '#56115f',
    950: '#000000',
  },
}
SCSS
$custom: #56115f;
$custom-light: #89588d;
$custom-dark: #000000;
JSON
{
  "hex": "#56115f",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 293.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.1384,
    "h": 322.8
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#56115F
secondary
#409834
accent
#EC3B50
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56115F

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

Preview Lab → · Contrast checker → · Palette generator →

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