#56137B#56137B

#56137B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.163 H 309.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#56137B
RGBrgb(86, 19, 123)
HSLhsl(279, 73%, 28%)
HSVhsv(279, 85%, 48%)
CMYKcmyk(30.1%, 84.6%, 0%, 51.8%)
CIE-LABlab(23.25, 46.64, -44.24)
CIE-LCHlch(23.25, 64.29, 316.51°)
OKLaboklab(35.97% 0.103 -0.1257)
OKLCHoklch(35.97% 0.163 309.3)
XYZxyz(7.6450, 3.8744, 19.0801)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56137B #387B13
analogous
#22137B #56137B #7B136C
triadic
#56137B #7B5613 #137B56
tetradic
#56137B #7B2213 #387B13 #136C7B
square
#56137B #7B2213 #387B13 #136C7B
split-complementary
#56137B #6C7B13 #137B22
monochromatic
#13041B #310B46 #56137B #7B1BB0 #9E2ADE

Accessibility & contrast

On white

11.83
#56137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#56137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56137B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56137B#FFFFFF#000000##FFFFFF
##56137B1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#502F48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56137b;
/* rgb */ color: rgb(86, 19, 123);
/* oklch */ color: oklch(36.0% 0.163 309.3);
Tailwind
colors: {
  custom: {
    50: '#8a5ba2',
    500: '#56137b',
    950: '#000000',
  },
}
SCSS
$custom: #56137b;
$custom-light: #8a5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#56137b",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 278.654,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.16252,
    "h": 309.3
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#56137B
secondary
#64B139
accent
#F03879
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56137B

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

Preview Lab → · Contrast checker → · Palette generator →

#56137B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva