#55188E#55188E

#55188E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.177 H 301.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#55188E
RGBrgb(85, 24, 142)
HSLhsl(271, 71%, 33%)
HSVhsv(271, 83%, 56%)
CMYKcmyk(40.1%, 83.1%, 0%, 44.3%)
CIE-LABlab(25.37, 49.17, -52.73)
CIE-LCHlch(25.37, 72.10, 313.00°)
OKLaboklab(37.93% 0.0919 -0.1507)
OKLCHoklch(37.93% 0.177 301.4)
XYZxyz(8.9542, 4.5375, 25.9900)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55188E #518E18
analogous
#1A188E #55188E #8E188C
triadic
#55188E #8E5518 #188E55
tetradic
#55188E #8E1A18 #518E18 #188C8E
square
#55188E #8E1A18 #518E18 #188C8E
split-complementary
#55188E #8C8E18 #188E1A
monochromatic
#160625 #360F5A #55188E #7421C2 #9341DF

Accessibility & contrast

On white

11.01
#55188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55188E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55188E#FFFFFF#000000##FFFFFF
##55188E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#483954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55188e;
/* rgb */ color: rgb(85, 24, 142);
/* oklch */ color: oklch(37.9% 0.177 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b5eb0',
    500: '#55188e',
    950: '#000000',
  },
}
SCSS
$custom: #55188e;
$custom-light: #8b5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#55188e",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 271.017,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37926,
    "c": 0.17653,
    "h": 301.4
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#55188E
secondary
#7FC042
accent
#EE3A91
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #55188E

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

Preview Lab → · Contrast checker → · Palette generator →

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