#56177D#56177D

#56177D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.161 H 308.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#56177D
RGBrgb(86, 23, 125)
HSLhsl(277, 69%, 29%)
HSVhsv(277, 82%, 49%)
CMYKcmyk(31.2%, 81.6%, 0%, 51%)
CIE-LABlab(23.91, 45.68, -44.45)
CIE-LCHlch(23.91, 63.74, 315.78°)
OKLaboklab(36.48% 0.0992 -0.1263)
OKLCHoklch(36.48% 0.161 308.1)
XYZxyz(7.8450, 4.0720, 19.7708)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56177D #3E7D17
analogous
#23177D #56177D #7D1771
triadic
#56177D #7D5617 #177D56
tetradic
#56177D #7D2317 #3E7D17 #17717D
square
#56177D #7D2317 #3E7D17 #17717D
split-complementary
#56177D #717D17 #177D23
monochromatic
#12051A #320D49 #56177D #7A21B1 #9B35DA

Accessibility & contrast

On white

11.57
#56177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#56177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56177D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56177D#FFFFFF#000000##FFFFFF
##56177D1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#50314A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #56177d;
/* rgb */ color: rgb(86, 23, 125);
/* oklch */ color: oklch(36.5% 0.161 308.1);
Tailwind
colors: {
  custom: {
    50: '#8a5da3',
    500: '#56177d',
    950: '#000000',
  },
}
SCSS
$custom: #56177d;
$custom-light: #8a5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#56177d",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 277.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.16064,
    "h": 308.1
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#56177D
secondary
#6AB23E
accent
#EC3C7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #56177D

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

Preview Lab → · Contrast checker → · Palette generator →

#56177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva