#56107F#56107F

#56107F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.169 H 308.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#56107F
RGBrgb(86, 16, 127)
HSLhsl(278, 78%, 28%)
HSVhsv(278, 87%, 50%)
CMYKcmyk(32.3%, 87.4%, 0%, 50.2%)
CIE-LABlab(23.28, 48.48, -46.74)
CIE-LCHlch(23.28, 67.35, 316.04°)
OKLaboklab(36.09% 0.104 -0.133)
OKLCHoklch(36.09% 0.169 308)
XYZxyz(7.8530, 3.8814, 20.4101)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56107F #397F10
analogous
#1F107F #56107F #7F1070
triadic
#56107F #7F5610 #107F56
tetradic
#56107F #7F1F10 #397F10 #10707F
square
#56107F #7F1F10 #397F10 #10707F
split-complementary
#56107F #707F10 #107F1F
monochromatic
#12031B #310949 #56107F #7B17B5 #9E26E4

Accessibility & contrast

On white

11.82
#56107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#56107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56107F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56107F#FFFFFF#000000##FFFFFF
##56107F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#4F2F4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56107f;
/* rgb */ color: rgb(86, 16, 127);
/* oklch */ color: oklch(36.1% 0.169 308.0);
Tailwind
colors: {
  custom: {
    50: '#8b5aa5',
    500: '#56107f',
    950: '#000000',
  },
}
SCSS
$custom: #56107f;
$custom-light: #8b5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#56107f",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 277.838,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36089,
    "c": 0.16885,
    "h": 308
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#56107F
secondary
#65B536
accent
#F4347B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56107F

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

Preview Lab → · Contrast checker → · Palette generator →

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