#56108D#56108D

#56108D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.182 H 303.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#56108D
RGBrgb(86, 16, 141)
HSLhsl(274, 80%, 31%)
HSVhsv(274, 89%, 55%)
CMYKcmyk(39%, 88.7%, 0%, 44.7%)
CIE-LABlab(24.55, 51.66, -53.45)
CIE-LCHlch(24.55, 74.33, 314.02°)
OKLaboklab(37.36% 0.0991 -0.1527)
OKLCHoklch(37.36% 0.182 303)
XYZxyz(8.8296, 4.2721, 25.5536)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56108D #478D10
analogous
#17108D #56108D #8D1085
triadic
#56108D #8D5610 #108D56
tetradic
#56108D #8D1710 #478D10 #10858D
square
#56108D #8D1710 #478D10 #10858D
split-complementary
#56108D #858D10 #108D17
monochromatic
#13041F #340A56 #56108D #7816C4 #9730E7

Accessibility & contrast

On white

11.32
#56108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#56108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56108D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56108D#FFFFFF#000000##FFFFFF
##56108D1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#4A3652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56108d;
/* rgb */ color: rgb(86, 16, 141);
/* oklch */ color: oklch(37.4% 0.182 303.0);
Tailwind
colors: {
  custom: {
    50: '#8c5baf',
    500: '#56108d',
    950: '#000000',
  },
}
SCSS
$custom: #56108d;
$custom-light: #8c5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#56108d",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 273.6,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37361,
    "c": 0.18206,
    "h": 303
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#56108D
secondary
#74C237
accent
#F63288
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0411
muted
#7E7980

Preview Lab

Preview with #56108D

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

Preview Lab → · Contrast checker → · Palette generator →

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