#55189D#55189D

#55189D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.192 H 296.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#55189D
RGBrgb(85, 24, 157)
HSLhsl(268, 73%, 35%)
HSVhsv(268, 85%, 62%)
CMYKcmyk(45.9%, 84.7%, 0%, 38.4%)
CIE-LABlab(26.79, 52.84, -59.65)
CIE-LCHlch(26.79, 79.69, 311.54°)
OKLaboklab(39.33% 0.0867 -0.171)
OKLCHoklch(39.33% 0.192 296.9)
XYZxyz(10.1571, 5.0187, 32.3253)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55189D #609D18
analogous
#181D9D #55189D #97189D
triadic
#55189D #9D5518 #189D55
tetradic
#55189D #9D181D #609D18 #189D97
square
#55189D #9D181D #609D18 #189D97
split-complementary
#55189D #9D9718 #1D9D18
monochromatic
#1C0833 #381068 #55189D #7220D2 #914CE4

Accessibility & contrast

On white

10.48
#55189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#55189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55189D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55189D#FFFFFF#000000##FFFFFF
##55189D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#41405D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55189d;
/* rgb */ color: rgb(85, 24, 157);
/* oklch */ color: oklch(39.3% 0.192 296.9);
Tailwind
colors: {
  custom: {
    50: '#8d5fbb',
    500: '#55189d',
    950: '#000000',
  },
}
SCSS
$custom: #55189d;
$custom-light: #8d5fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#55189d",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 267.519,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.19173,
    "h": 296.9
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#55189D
secondary
#8DC54B
accent
#F0389C
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #55189D

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

Preview Lab → · Contrast checker → · Palette generator →

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