#55188D#55188D

#55188D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.176 H 301.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#55188D
RGBrgb(85, 24, 141)
HSLhsl(271, 71%, 32%)
HSVhsv(271, 83%, 55%)
CMYKcmyk(39.7%, 83%, 0%, 44.7%)
CIE-LABlab(25.28, 48.93, -52.26)
CIE-LCHlch(25.28, 71.59, 313.12°)
OKLaboklab(37.84% 0.0923 -0.1493)
OKLCHoklch(37.84% 0.176 301.7)
XYZxyz(8.8795, 4.5076, 25.5964)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55188D #508D18
analogous
#1B188D #55188D #8D188B
triadic
#55188D #8D5518 #188D55
tetradic
#55188D #8D1B18 #508D18 #188B8D
square
#55188D #8D1B18 #508D18 #188B8D
split-complementary
#55188D #8B8D18 #188D1B
monochromatic
#160624 #350F59 #55188D #7521C1 #9341DF

Accessibility & contrast

On white

11.04
#55188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55188D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55188D#FFFFFF#000000##FFFFFF
##55188D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#493954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55188d;
/* rgb */ color: rgb(85, 24, 141);
/* oklch */ color: oklch(37.8% 0.176 301.7);
Tailwind
colors: {
  custom: {
    50: '#8b5eaf',
    500: '#55188d',
    950: '#000000',
  },
}
SCSS
$custom: #55188d;
$custom-light: #8b5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#55188d",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 271.282,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37835,
    "c": 0.17553,
    "h": 301.7
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#55188D
secondary
#7EBF42
accent
#EE3A90
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55188D

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

Preview Lab → · Contrast checker → · Palette generator →

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