#55188C#55188C

#55188C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.175 H 302.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#55188C
RGBrgb(85, 24, 140)
HSLhsl(272, 71%, 32%)
HSVhsv(272, 83%, 55%)
CMYKcmyk(39.3%, 82.9%, 0%, 45.1%)
CIE-LABlab(25.19, 48.69, -51.78)
CIE-LCHlch(25.19, 71.08, 313.24°)
OKLaboklab(37.74% 0.0926 -0.1479)
OKLCHoklch(37.74% 0.175 302)
XYZxyz(8.8054, 4.4780, 25.2063)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55188C #4F8C18
analogous
#1B188C #55188C #8C1889
triadic
#55188C #8C5518 #188C55
tetradic
#55188C #8C1B18 #4F8C18 #18898C
square
#55188C #8C1B18 #4F8C18 #18898C
split-complementary
#55188C #898C18 #188C1B
monochromatic
#160624 #350F58 #55188C #7521C0 #9340DE

Accessibility & contrast

On white

11.08
#55188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#55188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55188C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55188C#FFFFFF#000000##FFFFFF
##55188C1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#493853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55188c;
/* rgb */ color: rgb(85, 24, 140);
/* oklch */ color: oklch(37.7% 0.175 302.0);
Tailwind
colors: {
  custom: {
    50: '#8b5eaf',
    500: '#55188c',
    950: '#000000',
  },
}
SCSS
$custom: #55188c;
$custom-light: #8b5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#55188c",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 271.552,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.17452,
    "h": 302
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#55188C
secondary
#7DBF41
accent
#ED3A8F
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55188C

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

Preview Lab → · Contrast checker → · Palette generator →

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