#55198B#55198B

#55198B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.173 H 302.3°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#55198B
RGBrgb(85, 25, 139)
HSLhsl(272, 70%, 32%)
HSVhsv(272, 82%, 55%)
CMYKcmyk(38.8%, 82%, 0%, 45.5%)
CIE-LABlab(25.23, 48.07, -51.10)
CIE-LCHlch(25.23, 70.16, 313.25°)
OKLaboklab(37.74% 0.0921 -0.1459)
OKLCHoklch(37.74% 0.173 302.3)
XYZxyz(8.7530, 4.4906, 24.8267)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55198B #4F8B19
analogous
#1C198B #55198B #8B1988
triadic
#55198B #8B5519 #198B55
tetradic
#55198B #8B1C19 #4F8B19 #19888B
square
#55198B #8B1C19 #4F8B19 #19888B
split-complementary
#55198B #888B19 #198B1C
monochromatic
#160623 #351057 #55198B #7522BF #9341DD

Accessibility & contrast

On white

11.06
#55198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55198B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55198B#FFFFFF#000000##FFFFFF
##55198B1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#493853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55198b;
/* rgb */ color: rgb(85, 25, 139);
/* oklch */ color: oklch(37.7% 0.173 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b5eae',
    500: '#55198b',
    950: '#000000',
  },
}
SCSS
$custom: #55198b;
$custom-light: #8b5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#55198b",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 271.579,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.17257,
    "h": 302.3
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#55198B
secondary
#7DBE42
accent
#EC3B8F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55198B

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

Preview Lab → · Contrast checker → · Palette generator →

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