#55198F#55198F

#55198F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.177 H 301.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#55198F
RGBrgb(85, 25, 143)
HSLhsl(271, 70%, 33%)
HSVhsv(271, 83%, 56%)
CMYKcmyk(40.6%, 82.5%, 0%, 43.9%)
CIE-LABlab(25.59, 49.04, -52.99)
CIE-LCHlch(25.59, 72.21, 312.78°)
OKLaboklab(38.11% 0.0909 -0.1515)
OKLCHoklch(38.11% 0.177 301)
XYZxyz(9.0506, 4.6097, 26.3942)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55198F #538F19
analogous
#1A198F #55198F #8F198E
triadic
#55198F #8F5519 #198F55
tetradic
#55198F #8F1A19 #538F19 #198E8F
square
#55198F #8F1A19 #538F19 #198E8F
split-complementary
#55198F #8E8F19 #198F1A
monochromatic
#170727 #36105B #55198F #7422C3 #9344DE

Accessibility & contrast

On white

10.93
#55198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55198F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55198F#FFFFFF#000000##FFFFFF
##55198F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#483A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55198f;
/* rgb */ color: rgb(85, 25, 143);
/* oklch */ color: oklch(38.1% 0.177 301.0);
Tailwind
colors: {
  custom: {
    50: '#8b5eb1',
    500: '#55198f',
    950: '#000000',
  },
}
SCSS
$custom: #55198f;
$custom-light: #8b5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#55198f",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 270.508,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.17665,
    "h": 301
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#55198F
secondary
#81BF44
accent
#ED3B92
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #55198F

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

Preview Lab → · Contrast checker → · Palette generator →

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