#55198D#55198D

#55198D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.175 H 301.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#55198D
RGBrgb(85, 25, 141)
HSLhsl(271, 70%, 33%)
HSVhsv(271, 82%, 55%)
CMYKcmyk(39.7%, 82.3%, 0%, 44.7%)
CIE-LABlab(25.41, 48.56, -52.05)
CIE-LCHlch(25.41, 71.18, 313.01°)
OKLaboklab(37.92% 0.0915 -0.1487)
OKLCHoklch(37.92% 0.175 301.6)
XYZxyz(8.9005, 4.5496, 25.6034)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55198D #518D19
analogous
#1B198D #55198D #8D198B
triadic
#55198D #8D5519 #198D55
tetradic
#55198D #8D1B19 #518D19 #198B8D
square
#55198D #8D1B19 #518D19 #198B8D
split-complementary
#55198D #8B8D19 #198D1B
monochromatic
#160725 #361059 #55198D #7422C1 #9343DE

Accessibility & contrast

On white

10.99
#55198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#55198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55198D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55198D#FFFFFF#000000##FFFFFF
##55198D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#483954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55198d;
/* rgb */ color: rgb(85, 25, 141);
/* oklch */ color: oklch(37.9% 0.175 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b5eaf',
    500: '#55198d',
    950: '#000000',
  },
}
SCSS
$custom: #55198d;
$custom-light: #8b5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#55198d",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 271.034,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.17461,
    "h": 301.6
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#55198D
secondary
#7FBF43
accent
#ED3B91
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55198D

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

Preview Lab → · Contrast checker → · Palette generator →

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