#56188B#56188B

#56188B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.174 H 302.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#56188B
RGBrgb(86, 24, 139)
HSLhsl(272, 71%, 32%)
HSVhsv(272, 83%, 55%)
CMYKcmyk(38.1%, 82.7%, 0%, 45.5%)
CIE-LABlab(25.25, 48.61, -51.06)
CIE-LCHlch(25.25, 70.50, 313.59°)
OKLaboklab(37.79% 0.0944 -0.1458)
OKLCHoklch(37.79% 0.174 302.9)
XYZxyz(8.8235, 4.4958, 24.8240)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56188B #4D8B18
analogous
#1D188B #56188B #8B1887
triadic
#56188B #8B5618 #188B56
tetradic
#56188B #8B1D18 #4D8B18 #18878B
square
#56188B #8B1D18 #4D8B18 #18878B
split-complementary
#56188B #878B18 #188B1D
monochromatic
#150623 #360F57 #56188B #7621BF #953FDE

Accessibility & contrast

On white

11.06
#56188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#56188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56188B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56188B#FFFFFF#000000##FFFFFF
##56188B1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#4B3852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56188b;
/* rgb */ color: rgb(86, 24, 139);
/* oklch */ color: oklch(37.8% 0.174 302.9);
Tailwind
colors: {
  custom: {
    50: '#8b5eae',
    500: '#56188b',
    950: '#000000',
  },
}
SCSS
$custom: #56188b;
$custom-light: #8b5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#56188b",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 272.348,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37785,
    "c": 0.17369,
    "h": 302.9
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#56188B
secondary
#7ABE40
accent
#ED3A8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #56188B

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

Preview Lab → · Contrast checker → · Palette generator →

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