#56135C#56135C

#56135C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.133 H 324.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#56135C
RGBrgb(86, 19, 92)
HSLhsl(295, 66%, 22%)
HSVhsv(295, 79%, 36%)
CMYKcmyk(6.5%, 79.3%, 0%, 63.9%)
CIE-LABlab(20.89, 40.08, -27.89)
CIE-LCHlch(20.89, 48.84, 325.17°)
OKLaboklab(33.56% 0.1085 -0.0777)
OKLCHoklch(33.56% 0.133 324.4)
XYZxyz(6.0022, 3.2173, 10.4280)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56135C #195C13
analogous
#32135C #56135C #5C133E
triadic
#56135C #5C5613 #135C56
tetradic
#56135C #5C3213 #195C13 #133E5C
square
#56135C #5C3213 #195C13 #133E5C
split-complementary
#56135C #3E5C13 #135C32
monochromatic
#180519 #270929 #56135C #851D8F #B528C1

Accessibility & contrast

On white

12.78
#56135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#56135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56135C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56135C#FFFFFF#000000##FFFFFF
##56135C1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#21355A
Tritanopia (blue-blind)
#582036
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56135c;
/* rgb */ color: rgb(86, 19, 92);
/* oklch */ color: oklch(33.6% 0.133 324.4);
Tailwind
colors: {
  custom: {
    50: '#88598a',
    500: '#56135c',
    950: '#000000',
  },
}
SCSS
$custom: #56135c;
$custom-light: #88598a;
$custom-dark: #000000;
JSON
{
  "hex": "#56135c",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 295.068,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33559,
    "c": 0.13345,
    "h": 324.4
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#56135C
secondary
#3E9437
accent
#E93F4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56135C

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

Preview Lab → · Contrast checker → · Palette generator →

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