#56137E#56137E

#56137E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.165 H 308.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#56137E
RGBrgb(86, 19, 126)
HSLhsl(278, 74%, 28%)
HSVhsv(278, 85%, 49%)
CMYKcmyk(31.7%, 84.9%, 0%, 50.6%)
CIE-LABlab(23.51, 47.32, -45.73)
CIE-LCHlch(23.51, 65.81, 315.98°)
OKLaboklab(36.22% 0.1022 -0.1301)
OKLCHoklch(36.22% 0.165 308.1)
XYZxyz(7.8357, 3.9507, 20.0844)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56137E #3B7E13
analogous
#20137E #56137E #7E1370
triadic
#56137E #7E5613 #137E56
tetradic
#56137E #7E2013 #3B7E13 #13707E
square
#56137E #7E2013 #3B7E13 #13707E
split-complementary
#56137E #707E13 #137E20
monochromatic
#12041B #320B49 #56137E #7A1BB3 #9C2CDF

Accessibility & contrast

On white

11.73
#56137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#56137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56137E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56137E#FFFFFF#000000##FFFFFF
##56137E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#4F304A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #56137e;
/* rgb */ color: rgb(86, 19, 126);
/* oklch */ color: oklch(36.2% 0.165 308.1);
Tailwind
colors: {
  custom: {
    50: '#8a5ba4',
    500: '#56137e',
    950: '#000000',
  },
}
SCSS
$custom: #56137e;
$custom-light: #8a5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#56137e",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 277.57,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36223,
    "c": 0.16541,
    "h": 308.1
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#56137E
secondary
#67B439
accent
#F0377D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56137E

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

Preview Lab → · Contrast checker → · Palette generator →

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