#56107E#56107E

#56107E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.168 H 308.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#56107E
RGBrgb(86, 16, 126)
HSLhsl(278, 77%, 28%)
HSVhsv(278, 87%, 49%)
CMYKcmyk(31.7%, 87.3%, 0%, 50.6%)
CIE-LABlab(23.19, 48.26, -46.25)
CIE-LCHlch(23.19, 66.84, 316.21°)
OKLaboklab(36% 0.1043 -0.1316)
OKLCHoklch(36% 0.168 308.4)
XYZxyz(7.7881, 3.8555, 20.0685)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56107E #387E10
analogous
#1F107E #56107E #7E106F
triadic
#56107E #7E5610 #107E56
tetradic
#56107E #7E1F10 #387E10 #106F7E
square
#56107E #7E1F10 #387E10 #106F7E
split-complementary
#56107E #6F7E10 #107E1F
monochromatic
#13031B #310948 #56107E #7B17B4 #9E25E3

Accessibility & contrast

On white

11.86
#56107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56107E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56107E#FFFFFF#000000##FFFFFF
##56107E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#4F2F49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56107e;
/* rgb */ color: rgb(86, 16, 126);
/* oklch */ color: oklch(36.0% 0.168 308.4);
Tailwind
colors: {
  custom: {
    50: '#8b5aa4',
    500: '#56107e',
    950: '#000000',
  },
}
SCSS
$custom: #56107e;
$custom-light: #8b5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#56107e",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 278.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36001,
    "c": 0.16791,
    "h": 308.4
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#56107E
secondary
#64B436
accent
#F4347A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56107E

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

Preview Lab → · Contrast checker → · Palette generator →

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