#56155F#56155F

#56155F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.134 H 322.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#56155F
RGBrgb(86, 21, 95)
HSLhsl(293, 64%, 23%)
HSVhsv(293, 78%, 37%)
CMYKcmyk(9.5%, 77.9%, 0%, 62.7%)
CIE-LABlab(21.36, 39.92, -29.14)
CIE-LCHlch(21.36, 49.42, 323.88°)
OKLaboklab(33.96% 0.1062 -0.0814)
OKLCHoklch(33.96% 0.134 322.5)
XYZxyz(6.1713, 3.3413, 11.1441)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56155F #1E5F15
analogous
#31155F #56155F #5F1543
triadic
#56155F #5F5615 #155F56
tetradic
#56155F #5F3115 #1E5F15 #15435F
square
#56155F #5F3115 #1E5F15 #15435F
split-complementary
#56155F #435F15 #155F31
monochromatic
#170619 #290A2D #56155F #832091 #B12BC3

Accessibility & contrast

On white

12.59
#56155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#56155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56155F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56155F#FFFFFF#000000##FFFFFF
##56155F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#572339
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56155f;
/* rgb */ color: rgb(86, 21, 95);
/* oklch */ color: oklch(34.0% 0.134 322.5);
Tailwind
colors: {
  custom: {
    50: '#885a8d',
    500: '#56155f',
    950: '#000000',
  },
}
SCSS
$custom: #56155f;
$custom-light: #885a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#56155f",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 292.703,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.1338,
    "h": 322.5
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#56155F
secondary
#45963A
accent
#E74155
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56155F

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

Preview Lab → · Contrast checker → · Palette generator →

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