#55188A#55188A

#55188A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.172 H 302.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#55188A
RGBrgb(85, 24, 138)
HSLhsl(272, 70%, 32%)
HSVhsv(272, 83%, 54%)
CMYKcmyk(38.4%, 82.6%, 0%, 45.9%)
CIE-LABlab(25.01, 48.21, -50.83)
CIE-LCHlch(25.01, 70.05, 313.48°)
OKLaboklab(37.56% 0.0932 -0.1451)
OKLCHoklch(37.56% 0.172 302.7)
XYZxyz(8.6593, 4.4195, 24.4367)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55188A #4D8A18
analogous
#1C188A #55188A #8A1886
triadic
#55188A #8A5518 #188A55
tetradic
#55188A #8A1C18 #4D8A18 #18868A
square
#55188A #8A1C18 #4D8A18 #18868A
split-complementary
#55188A #868A18 #188A1C
monochromatic
#150622 #350F56 #55188A #7521BE #943FDE

Accessibility & contrast

On white

11.15
#55188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#55188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55188A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55188A#FFFFFF#000000##FFFFFF
##55188A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#4A3852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55188a;
/* rgb */ color: rgb(85, 24, 138);
/* oklch */ color: oklch(37.6% 0.172 302.7);
Tailwind
colors: {
  custom: {
    50: '#8b5ead',
    500: '#55188a',
    950: '#000000',
  },
}
SCSS
$custom: #55188a;
$custom-light: #8b5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#55188a",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 272.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37564,
    "c": 0.17248,
    "h": 302.7
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#55188A
secondary
#7BBD40
accent
#ED3B8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55188A

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

Preview Lab → · Contrast checker → · Palette generator →

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