#55177B#55177B

#55177B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.158 H 308.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#55177B
RGBrgb(85, 23, 123)
HSLhsl(277, 68%, 29%)
HSVhsv(277, 81%, 48%)
CMYKcmyk(30.9%, 81.3%, 0%, 51.8%)
CIE-LABlab(23.59, 45.03, -43.71)
CIE-LCHlch(23.59, 62.76, 315.86°)
OKLaboklab(36.17% 0.0983 -0.1242)
OKLCHoklch(36.17% 0.158 308.4)
XYZxyz(7.6271, 3.9743, 19.1004)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55177B #3D7B17
analogous
#23177B #55177B #7B176F
triadic
#55177B #7B5517 #177B55
tetradic
#55177B #7B2317 #3D7B17 #176F7B
square
#55177B #7B2317 #3D7B17 #176F7B
split-complementary
#55177B #6F7B17 #177B23
monochromatic
#12051A #310D47 #55177B #7921AF #9A33D9

Accessibility & contrast

On white

11.70
#55177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#55177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55177B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55177B#FFFFFF#000000##FFFFFF
##55177B1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#4F3049
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55177b;
/* rgb */ color: rgb(85, 23, 123);
/* oklch */ color: oklch(36.2% 0.158 308.4);
Tailwind
colors: {
  custom: {
    50: '#895ca2',
    500: '#55177b',
    950: '#000000',
  },
}
SCSS
$custom: #55177b;
$custom-light: #895ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#55177b",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 277.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.15836,
    "h": 308.4
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#55177B
secondary
#69B03E
accent
#EB3C7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55177B

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

Preview Lab → · Contrast checker → · Palette generator →

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