#56137C#56137C

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

Color values

HEX#56137C
RGBrgb(86, 19, 124)
HSLhsl(278, 73%, 28%)
HSVhsv(278, 85%, 49%)
CMYKcmyk(30.6%, 84.7%, 0%, 51.4%)
CIE-LABlab(23.34, 46.87, -44.74)
CIE-LCHlch(23.34, 64.80, 316.33°)
OKLaboklab(36.05% 0.1027 -0.1272)
OKLCHoklch(36.05% 0.163 308.9)
XYZxyz(7.7080, 3.8996, 19.4115)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56137C #397C13
analogous
#22137C #56137C #7C136D
triadic
#56137C #7C5613 #137C56
tetradic
#56137C #7C2213 #397C13 #136D7C
square
#56137C #7C2213 #397C13 #136D7C
split-complementary
#56137C #6D7C13 #137C22
monochromatic
#12041B #310B47 #56137C #7B1BB1 #9E2BDF

Accessibility & contrast

On white

11.80
#56137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#56137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56137C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56137C#FFFFFF#000000##FFFFFF
##56137C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#502F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #56137c;
/* rgb */ color: rgb(86, 19, 124);
/* oklch */ color: oklch(36.1% 0.163 308.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ba3',
    500: '#56137c',
    950: '#000000',
  },
}
SCSS
$custom: #56137c;
$custom-light: #8a5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#56137c",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 278.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36051,
    "c": 0.16349,
    "h": 308.9
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#56137C
secondary
#65B239
accent
#F0387A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56137C

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

Preview Lab → · Contrast checker → · Palette generator →

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