#55198E#55198E

#55198E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.176 H 301.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#55198E
RGBrgb(85, 25, 142)
HSLhsl(271, 70%, 33%)
HSVhsv(271, 82%, 56%)
CMYKcmyk(40.1%, 82.4%, 0%, 44.3%)
CIE-LABlab(25.50, 48.80, -52.52)
CIE-LCHlch(25.50, 71.69, 312.90°)
OKLaboklab(38.02% 0.0912 -0.1501)
OKLCHoklch(38.02% 0.176 301.3)
XYZxyz(8.9752, 4.5795, 25.9970)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55198E #528E19
analogous
#1A198E #55198E #8E198D
triadic
#55198E #8E5519 #198E55
tetradic
#55198E #8E1A19 #528E19 #198D8E
square
#55198E #8E1A19 #528E19 #198D8E
split-complementary
#55198E #8D8E19 #198E1A
monochromatic
#170726 #36105A #55198E #7422C2 #9343DE

Accessibility & contrast

On white

10.96
#55198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#55198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55198E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55198E#FFFFFF#000000##FFFFFF
##55198E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#483A54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55198e;
/* rgb */ color: rgb(85, 25, 142);
/* oklch */ color: oklch(38.0% 0.176 301.3);
Tailwind
colors: {
  custom: {
    50: '#8b5eb0',
    500: '#55198e',
    950: '#000000',
  },
}
SCSS
$custom: #55198e;
$custom-light: #8b5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#55198e",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 270.769,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38015,
    "c": 0.17563,
    "h": 301.3
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#55198E
secondary
#80BF44
accent
#ED3B92
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #55198E

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

Preview Lab → · Contrast checker → · Palette generator →

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