#56137D#56137D

#56137D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.164 H 308.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#56137D
RGBrgb(86, 19, 125)
HSLhsl(278, 74%, 28%)
HSVhsv(278, 85%, 49%)
CMYKcmyk(31.2%, 84.8%, 0%, 51%)
CIE-LABlab(23.42, 47.09, -45.24)
CIE-LCHlch(23.42, 65.30, 316.15°)
OKLaboklab(36.14% 0.1025 -0.1286)
OKLCHoklch(36.14% 0.164 308.5)
XYZxyz(7.7715, 3.9250, 19.7463)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56137D #3A7D13
analogous
#21137D #56137D #7D136F
triadic
#56137D #7D5613 #137D56
tetradic
#56137D #7D2113 #3A7D13 #136F7D
square
#56137D #7D2113 #3A7D13 #136F7D
split-complementary
#56137D #6F7D13 #137D21
monochromatic
#12041B #310B48 #56137D #7B1BB2 #9D2CDF

Accessibility & contrast

On white

11.76
#56137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56137D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56137D#FFFFFF#000000##FFFFFF
##56137D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#503049
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #56137d;
/* rgb */ color: rgb(86, 19, 125);
/* oklch */ color: oklch(36.1% 0.164 308.5);
Tailwind
colors: {
  custom: {
    50: '#8a5ba3',
    500: '#56137d',
    950: '#000000',
  },
}
SCSS
$custom: #56137d;
$custom-light: #8a5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#56137d",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 277.925,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36137,
    "c": 0.16445,
    "h": 308.5
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#56137D
secondary
#66B339
accent
#F0387B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56137D

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

Preview Lab → · Contrast checker → · Palette generator →

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