#56108C#56108C

#56108C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.3% C 0.181 H 303.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#56108C
RGBrgb(86, 16, 140)
HSLhsl(274, 79%, 31%)
HSVhsv(274, 89%, 55%)
CMYKcmyk(38.6%, 88.6%, 0%, 45.1%)
CIE-LABlab(24.46, 51.43, -52.98)
CIE-LCHlch(24.46, 73.84, 314.15°)
OKLaboklab(37.27% 0.0995 -0.1513)
OKLCHoklch(37.27% 0.181 303.3)
XYZxyz(8.7555, 4.2425, 25.1635)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56108C #468C10
analogous
#18108C #56108C #8C1084
triadic
#56108C #8C5610 #108C56
tetradic
#56108C #8C1810 #468C10 #10848C
square
#56108C #8C1810 #468C10 #10848C
split-complementary
#56108C #848C10 #108C18
monochromatic
#13031E #340A55 #56108C #7816C3 #972FE7

Accessibility & contrast

On white

11.36
#56108C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56108C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56108C#FFFFFF#000000##FFFFFF
##56108C1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#4B3552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56108c;
/* rgb */ color: rgb(86, 16, 140);
/* oklch */ color: oklch(37.3% 0.181 303.3);
Tailwind
colors: {
  custom: {
    50: '#8c5baf',
    500: '#56108c',
    950: '#000000',
  },
}
SCSS
$custom: #56108c;
$custom-light: #8c5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#56108c",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 140
  },
  "hsl": {
    "h": 273.871,
    "s": 79.487,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37268,
    "c": 0.18111,
    "h": 303.3
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#56108C
secondary
#73C137
accent
#F63287
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #56108C

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

Preview Lab → · Contrast checker → · Palette generator →

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