#55158C#55158C

#55158C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.177 H 302.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#55158C
RGBrgb(85, 21, 140)
HSLhsl(272, 74%, 32%)
HSVhsv(272, 85%, 55%)
CMYKcmyk(39.3%, 85%, 0%, 45.1%)
CIE-LABlab(24.83, 49.75, -52.37)
CIE-LCHlch(24.83, 72.23, 313.53°)
OKLaboklab(37.49% 0.0948 -0.1496)
OKLCHoklch(37.49% 0.177 302.3)
XYZxyz(8.7470, 4.3610, 25.1868)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55158C #4C8C15
analogous
#1A158C #55158C #8C1588
triadic
#55158C #8C5515 #158C55
tetradic
#55158C #8C1A15 #4C8C15 #15888C
square
#55158C #8C1A15 #4C8C15 #15888C
split-complementary
#55158C #888C15 #158C1A
monochromatic
#140522 #350D57 #55158C #751DC1 #943AE1

Accessibility & contrast

On white

11.22
#55158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#55158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55158C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55158C#FFFFFF#000000##FFFFFF
##55158C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#493752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55158c;
/* rgb */ color: rgb(85, 21, 140);
/* oklch */ color: oklch(37.5% 0.177 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b5caf',
    500: '#55158c',
    950: '#000000',
  },
}
SCSS
$custom: #55158c;
$custom-light: #8b5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#55158c",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 272.269,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.17713,
    "h": 302.3
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#55158C
secondary
#79C03D
accent
#F1378D
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55158C

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

Preview Lab → · Contrast checker → · Palette generator →

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