#55178F#55178F

#55178F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.178 H 301.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#55178F
RGBrgb(85, 23, 143)
HSLhsl(271, 72%, 33%)
HSVhsv(271, 84%, 56%)
CMYKcmyk(40.6%, 83.9%, 0%, 43.9%)
CIE-LABlab(25.34, 49.77, -53.40)
CIE-LCHlch(25.34, 73.00, 312.99°)
OKLaboklab(37.93% 0.0923 -0.1527)
OKLCHoklch(37.93% 0.178 301.2)
XYZxyz(9.0094, 4.5272, 26.3805)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55178F #518F17
analogous
#19178F #55178F #8F178D
triadic
#55178F #8F5517 #178F55
tetradic
#55178F #8F1917 #518F17 #178D8F
square
#55178F #8F1917 #518F17 #178D8F
split-complementary
#55178F #8D8F17 #178F19
monochromatic
#160626 #360F5A #55178F #741FC4 #9340E0

Accessibility & contrast

On white

11.02
#55178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#55178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55178F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55178F#FFFFFF#000000##FFFFFF
##55178F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#483955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55178f;
/* rgb */ color: rgb(85, 23, 143);
/* oklch */ color: oklch(37.9% 0.178 301.2);
Tailwind
colors: {
  custom: {
    50: '#8b5db1',
    500: '#55178f',
    950: '#000000',
  },
}
SCSS
$custom: #55178f;
$custom-light: #8b5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#55178f",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 271,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.17842,
    "h": 301.2
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#55178F
secondary
#7FC141
accent
#EF3991
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #55178F

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

Preview Lab → · Contrast checker → · Palette generator →

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