#56105F#56105F

#56105F is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.139 H 322.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#56105F
RGBrgb(86, 16, 95)
HSLhsl(293, 71%, 22%)
HSVhsv(293, 83%, 37%)
CMYKcmyk(9.5%, 83.2%, 0%, 62.7%)
CIE-LABlab(20.73, 41.72, -30.14)
CIE-LCHlch(20.73, 51.47, 324.16°)
OKLaboklab(33.51% 0.1111 -0.0843)
OKLCHoklch(33.51% 0.139 322.8)
XYZxyz(6.0884, 3.1756, 11.1165)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56105F #195F10
analogous
#2F105F #56105F #5F1041
triadic
#56105F #5F5610 #105F56
tetradic
#56105F #5F2F10 #195F10 #10415F
square
#56105F #5F2F10 #195F10 #10415F
split-complementary
#56105F #415F10 #105F2F
monochromatic
#18041A #27072B #56105F #851993 #B522C8

Accessibility & contrast

On white

12.84
#56105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#56105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56105F
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56105F#FFFFFF#000000##FFFFFF
##56105F1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#1D355D
Tritanopia (blue-blind)
#572037
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56105f;
/* rgb */ color: rgb(86, 16, 95);
/* oklch */ color: oklch(33.5% 0.139 322.8);
Tailwind
colors: {
  custom: {
    50: '#89588d',
    500: '#56105f',
    950: '#000000',
  },
}
SCSS
$custom: #56105f;
$custom-light: #89588d;
$custom-dark: #000000;
JSON
{
  "hex": "#56105f",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 293.165,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.13945,
    "h": 322.8
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#56105F
secondary
#3E9833
accent
#EE3A4E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56105F

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

Preview Lab → · Contrast checker → · Palette generator →

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