#55188F#55188F

#55188F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.178 H 301.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#55188F
RGBrgb(85, 24, 143)
HSLhsl(271, 71%, 33%)
HSVhsv(271, 83%, 56%)
CMYKcmyk(40.6%, 83.2%, 0%, 43.9%)
CIE-LABlab(25.47, 49.41, -53.20)
CIE-LCHlch(25.47, 72.61, 312.89°)
OKLaboklab(38.02% 0.0916 -0.1521)
OKLCHoklch(38.02% 0.178 301.1)
XYZxyz(9.0296, 4.5677, 26.3872)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55188F #528F18
analogous
#19188F #55188F #8F188D
triadic
#55188F #8F5518 #188F55
tetradic
#55188F #8F1918 #528F18 #188D8F
square
#55188F #8F1918 #528F18 #188D8F
split-complementary
#55188F #8D8F18 #188F19
monochromatic
#170626 #360F5B #55188F #7421C3 #9342DF

Accessibility & contrast

On white

10.97
#55188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55188F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55188F#FFFFFF#000000##FFFFFF
##55188F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#483A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55188f;
/* rgb */ color: rgb(85, 24, 143);
/* oklch */ color: oklch(38.0% 0.178 301.1);
Tailwind
colors: {
  custom: {
    50: '#8b5eb1',
    500: '#55188f',
    950: '#000000',
  },
}
SCSS
$custom: #55188f;
$custom-light: #8b5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#55188f",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 270.756,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38018,
    "c": 0.17755,
    "h": 301.1
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#55188F
secondary
#80C043
accent
#EE3A92
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #55188F

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

Preview Lab → · Contrast checker → · Palette generator →

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