#56316A#56316A

#56316A is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.101 H 312.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#56316A
RGBrgb(86, 49, 106)
HSLhsl(279, 37%, 30%)
HSVhsv(279, 54%, 42%)
CMYKcmyk(18.9%, 53.8%, 0%, 58.4%)
CIE-LABlab(27.34, 28.00, -26.80)
CIE-LCHlch(27.34, 38.76, 316.25°)
OKLaboklab(38.53% 0.0686 -0.0748)
OKLCHoklch(38.53% 0.101 312.5)
XYZxyz(7.5371, 5.2158, 14.2426)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56316A #456A31
analogous
#39316A #56316A #6A3161
triadic
#56316A #6A5631 #316A56
tetradic
#56316A #6A3931 #456A31 #31616A
square
#56316A #6A3931 #456A31 #31616A
split-complementary
#56316A #616A31 #316A39
monochromatic
#120A16 #341E40 #56316A #784494 #9760B5

Accessibility & contrast

On white

10.28
#56316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#56316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56316A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56316A#FFFFFF#000000##FFFFFF
##56316A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6C
Deuteranopia (green-blind)
#2E4169
Tritanopia (blue-blind)
#543A48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #56316a;
/* rgb */ color: rgb(86, 49, 106);
/* oklch */ color: oklch(38.5% 0.101 312.5);
Tailwind
colors: {
  custom: {
    50: '#876a95',
    500: '#56316a',
    950: '#000000',
  },
}
SCSS
$custom: #56316a;
$custom-light: #876a95;
$custom-dark: #000000;
JSON
{
  "hex": "#56316a",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 278.947,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.10145,
    "h": 312.5
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#56316A
secondary
#729B5C
accent
#CD5B83
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #56316A

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

Preview Lab → · Contrast checker → · Palette generator →

#56316A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva