#55198C#55198C

#55198C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.174 H 301.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#55198C
RGBrgb(85, 25, 140)
HSLhsl(271, 70%, 32%)
HSVhsv(271, 82%, 55%)
CMYKcmyk(39.3%, 82.1%, 0%, 45.1%)
CIE-LABlab(25.32, 48.31, -51.57)
CIE-LCHlch(25.32, 70.67, 313.13°)
OKLaboklab(37.83% 0.0918 -0.1473)
OKLCHoklch(37.83% 0.174 301.9)
XYZxyz(8.8264, 4.5200, 25.2133)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55198C #508C19
analogous
#1B198C #55198C #8C198A
triadic
#55198C #8C5519 #198C55
tetradic
#55198C #8C1B19 #508C19 #198A8C
square
#55198C #8C1B19 #508C19 #198A8C
split-complementary
#55198C #8A8C19 #198C1B
monochromatic
#160624 #351058 #55198C #7522C0 #9342DD

Accessibility & contrast

On white

11.03
#55198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#55198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55198C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55198C#FFFFFF#000000##FFFFFF
##55198C1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#493953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55198c;
/* rgb */ color: rgb(85, 25, 140);
/* oklch */ color: oklch(37.8% 0.174 301.9);
Tailwind
colors: {
  custom: {
    50: '#8b5eaf',
    500: '#55198c',
    950: '#000000',
  },
}
SCSS
$custom: #55198c;
$custom-light: #8b5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#55198c",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 271.304,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37834,
    "c": 0.17359,
    "h": 301.9
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#55198C
secondary
#7EBE43
accent
#ED3B90
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55198C

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

Preview Lab → · Contrast checker → · Palette generator →

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