#55178D#55178D

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

Color values

HEX#55178D
RGBrgb(85, 23, 141)
HSLhsl(272, 72%, 32%)
HSVhsv(272, 84%, 55%)
CMYKcmyk(39.7%, 83.7%, 0%, 44.7%)
CIE-LABlab(25.16, 49.29, -52.46)
CIE-LCHlch(25.16, 71.98, 313.22°)
OKLaboklab(37.75% 0.093 -0.1499)
OKLCHoklch(37.75% 0.176 301.8)
XYZxyz(8.8593, 4.4671, 25.5896)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55178D #4F8D17
analogous
#1A178D #55178D #8D178A
triadic
#55178D #8D5517 #178D55
tetradic
#55178D #8D1A17 #4F8D17 #178A8D
square
#55178D #8D1A17 #4F8D17 #178A8D
split-complementary
#55178D #8A8D17 #178D1A
monochromatic
#160624 #350E58 #55178D #7520C2 #933FE0

Accessibility & contrast

On white

11.09
#55178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#55178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55178D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55178D#FFFFFF#000000##FFFFFF
##55178D1.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)
#003B90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#493853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55178d;
/* rgb */ color: rgb(85, 23, 141);
/* oklch */ color: oklch(37.7% 0.176 301.8);
Tailwind
colors: {
  custom: {
    50: '#8b5daf',
    500: '#55178d',
    950: '#000000',
  },
}
SCSS
$custom: #55178d;
$custom-light: #8b5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#55178d",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 271.525,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.17641,
    "h": 301.8
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#55178D
secondary
#7DC040
accent
#EF398F
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55178D

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

Preview Lab → · Contrast checker → · Palette generator →

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