#56135F#56135F

#56135F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.136 H 322.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#56135F
RGBrgb(86, 19, 95)
HSLhsl(293, 67%, 22%)
HSVhsv(293, 80%, 37%)
CMYKcmyk(9.5%, 80%, 0%, 62.7%)
CIE-LABlab(21.10, 40.68, -29.56)
CIE-LCHlch(21.10, 50.28, 323.99°)
OKLaboklab(33.77% 0.1083 -0.0826)
OKLCHoklch(33.77% 0.136 322.7)
XYZxyz(6.1360, 3.2708, 11.1324)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56135F #1C5F13
analogous
#30135F #56135F #5F1342
triadic
#56135F #5F5613 #135F56
tetradic
#56135F #5F3013 #1C5F13 #13425F
square
#56135F #5F3013 #1C5F13 #13425F
split-complementary
#56135F #425F13 #135F30
monochromatic
#17051A #28092C #56135F #841D92 #B227C5

Accessibility & contrast

On white

12.70
#56135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#56135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56135F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56135F#FFFFFF#000000##FFFFFF
##56135F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#1F355D
Tritanopia (blue-blind)
#572238
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56135f;
/* rgb */ color: rgb(86, 19, 95);
/* oklch */ color: oklch(33.8% 0.136 322.7);
Tailwind
colors: {
  custom: {
    50: '#89598d',
    500: '#56135f',
    950: '#000000',
  },
}
SCSS
$custom: #56135f;
$custom-light: #89598d;
$custom-dark: #000000;
JSON
{
  "hex": "#56135f",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 292.895,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33769,
    "c": 0.13618,
    "h": 322.7
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#56135F
secondary
#429737
accent
#EA3E53
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56135F

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

Preview Lab → · Contrast checker → · Palette generator →

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