#56114F#56114F

#56114F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.125 H 332.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#56114F
RGBrgb(86, 17, 79)
HSLhsl(306, 67%, 20%)
HSVhsv(306, 80%, 34%)
CMYKcmyk(0%, 80.2%, 8.1%, 66.3%)
CIE-LABlab(19.82, 38.41, -20.87)
CIE-LCHlch(19.82, 43.71, 331.49°)
OKLaboklab(32.53% 0.1106 -0.0573)
OKLCHoklch(32.53% 0.125 332.6)
XYZxyz(5.4495, 2.9443, 7.6769)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56114F #115618
analogous
#3A1156 #56114F #56112C
triadic
#56114F #4F5611 #114F56
tetradic
#56114F #563A11 #115618 #112C56
square
#56114F #563A11 #115618 #112C56
split-complementary
#56114F #2C5611 #11563A
monochromatic
#1A0517 #230720 #56114F #891B7E #BC25AD

Accessibility & contrast

On white

13.22
#56114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#56114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56114F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56114F#FFFFFF#000000##FFFFFF
##56114F1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#5A192F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #56114f;
/* rgb */ color: rgb(86, 17, 79);
/* oklch */ color: oklch(32.5% 0.125 332.6);
Tailwind
colors: {
  custom: {
    50: '#885880',
    500: '#56114f',
    950: '#000000',
  },
}
SCSS
$custom: #56114f;
$custom-light: #885880;
$custom-dark: #000000;
JSON
{
  "hex": "#56114f",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 306.087,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32527,
    "c": 0.12454,
    "h": 332.6
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#56114F
secondary
#348F3D
accent
#EA4F3E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56114F

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

Preview Lab → · Contrast checker → · Palette generator →

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