#55177D#55177D

#55177D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.160 H 307.6°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#55177D
RGBrgb(85, 23, 125)
HSLhsl(276, 69%, 29%)
HSVhsv(276, 82%, 49%)
CMYKcmyk(32%, 81.6%, 0%, 51%)
CIE-LABlab(23.75, 45.50, -44.70)
CIE-LCHlch(23.75, 63.79, 315.50°)
OKLaboklab(36.34% 0.0978 -0.1271)
OKLCHoklch(36.34% 0.16 307.6)
XYZxyz(7.7536, 4.0249, 19.7665)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55177D #3F7D17
analogous
#22177D #55177D #7D1772
triadic
#55177D #7D5517 #177D55
tetradic
#55177D #7D2217 #3F7D17 #17727D
square
#55177D #7D2217 #3F7D17 #17727D
split-complementary
#55177D #727D17 #177D22
monochromatic
#12051A #320D49 #55177D #7821B1 #9935DA

Accessibility & contrast

On white

11.63
#55177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55177D
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55177D#FFFFFF#000000##FFFFFF
##55177D1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#4E314A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55177d;
/* rgb */ color: rgb(85, 23, 125);
/* oklch */ color: oklch(36.3% 0.160 307.6);
Tailwind
colors: {
  custom: {
    50: '#895ca3',
    500: '#55177d',
    950: '#000000',
  },
}
SCSS
$custom: #55177d;
$custom-light: #895ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#55177d",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 276.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36336,
    "c": 0.16037,
    "h": 307.6
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#55177D
secondary
#6BB23E
accent
#EC3C81
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55177D

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

Preview Lab → · Contrast checker → · Palette generator →

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