#56188A#56188A

#56188A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.173 H 303.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#56188A
RGBrgb(86, 24, 138)
HSLhsl(273, 70%, 32%)
HSVhsv(273, 83%, 54%)
CMYKcmyk(37.7%, 82.6%, 0%, 45.9%)
CIE-LABlab(25.16, 48.37, -50.59)
CIE-LCHlch(25.16, 69.99, 313.72°)
OKLaboklab(37.7% 0.0947 -0.1444)
OKLCHoklch(37.7% 0.173 303.3)
XYZxyz(8.7507, 4.4667, 24.4410)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56188A #4C8A18
analogous
#1D188A #56188A #8A1885
triadic
#56188A #8A5618 #188A56
tetradic
#56188A #8A1D18 #4C8A18 #18858A
square
#56188A #8A1D18 #4C8A18 #18858A
split-complementary
#56188A #858A18 #188A1D
monochromatic
#150622 #360F56 #56188A #7621BE #953FDE

Accessibility & contrast

On white

11.09
#56188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#56188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56188A
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56188A#FFFFFF#000000##FFFFFF
##56188A1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#4B3752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56188a;
/* rgb */ color: rgb(86, 24, 138);
/* oklch */ color: oklch(37.7% 0.173 303.3);
Tailwind
colors: {
  custom: {
    50: '#8b5ead',
    500: '#56188a',
    950: '#000000',
  },
}
SCSS
$custom: #56188a;
$custom-light: #8b5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#56188a",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 272.632,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.17269,
    "h": 303.3
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#56188A
secondary
#79BD40
accent
#ED3B8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #56188A

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

Preview Lab → · Contrast checker → · Palette generator →

#56188A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva