#55188B#55188B

#55188B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.173 H 302.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#55188B
RGBrgb(85, 24, 139)
HSLhsl(272, 71%, 32%)
HSVhsv(272, 83%, 55%)
CMYKcmyk(38.8%, 82.7%, 0%, 45.5%)
CIE-LABlab(25.10, 48.45, -51.31)
CIE-LCHlch(25.10, 70.57, 313.36°)
OKLaboklab(37.65% 0.0929 -0.1465)
OKLCHoklch(37.65% 0.174 302.4)
XYZxyz(8.7320, 4.4486, 24.8197)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55188B #4E8B18
analogous
#1C188B #55188B #8B1888
triadic
#55188B #8B5518 #188B55
tetradic
#55188B #8B1C18 #4E8B18 #18888B
square
#55188B #8B1C18 #4E8B18 #18888B
split-complementary
#55188B #888B18 #188B1C
monochromatic
#150623 #350F57 #55188B #7521BF #943FDE

Accessibility & contrast

On white

11.11
#55188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#55188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55188B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55188B#FFFFFF#000000##FFFFFF
##55188B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#493852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55188b;
/* rgb */ color: rgb(85, 24, 139);
/* oklch */ color: oklch(37.7% 0.173 302.4);
Tailwind
colors: {
  custom: {
    50: '#8b5eae',
    500: '#55188b',
    950: '#000000',
  },
}
SCSS
$custom: #55188b;
$custom-light: #8b5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#55188b",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 271.826,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.1735,
    "h": 302.4
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#55188B
secondary
#7CBE40
accent
#ED3A8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55188B

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

Preview Lab → · Contrast checker → · Palette generator →

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