#56107D#56107D

#56107D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.167 H 308.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#56107D
RGBrgb(86, 16, 125)
HSLhsl(279, 77%, 28%)
HSVhsv(279, 87%, 49%)
CMYKcmyk(31.2%, 87.2%, 0%, 51%)
CIE-LABlab(23.10, 48.04, -45.76)
CIE-LCHlch(23.10, 66.34, 316.39°)
OKLaboklab(35.91% 0.1046 -0.1301)
OKLCHoklch(35.91% 0.167 308.8)
XYZxyz(7.7239, 3.8298, 19.7304)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56107D #377D10
analogous
#1F107D #56107D #7D106D
triadic
#56107D #7D5610 #107D56
tetradic
#56107D #7D1F10 #377D10 #106D7D
square
#56107D #7D1F10 #377D10 #106D7D
split-complementary
#56107D #6D7D10 #107D1F
monochromatic
#13031B #310947 #56107D #7B17B3 #9F24E3

Accessibility & contrast

On white

11.89
#56107D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#56107D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56107D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56107D#FFFFFF#000000##FFFFFF
##56107D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#502E49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56107d;
/* rgb */ color: rgb(86, 16, 125);
/* oklch */ color: oklch(35.9% 0.167 308.8);
Tailwind
colors: {
  custom: {
    50: '#8b5aa3',
    500: '#56107d',
    950: '#000000',
  },
}
SCSS
$custom: #56107d;
$custom-light: #8b5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#56107d",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 125
  },
  "hsl": {
    "h": 278.532,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35914,
    "c": 0.16697,
    "h": 308.8
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#56107D
secondary
#62B335
accent
#F43479
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56107D

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

Preview Lab → · Contrast checker → · Palette generator →

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