#55158D#55158D

#55158D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.178 H 302.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#55158D
RGBrgb(85, 21, 141)
HSLhsl(272, 74%, 32%)
HSVhsv(272, 85%, 55%)
CMYKcmyk(39.7%, 85.1%, 0%, 44.7%)
CIE-LABlab(24.92, 49.98, -52.85)
CIE-LCHlch(24.92, 72.74, 313.40°)
OKLaboklab(37.59% 0.0944 -0.151)
OKLCHoklch(37.59% 0.178 302)
XYZxyz(8.8210, 4.3907, 25.5769)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55158D #4D8D15
analogous
#19158D #55158D #8D1589
triadic
#55158D #8D5515 #158D55
tetradic
#55158D #8D1915 #4D8D15 #15898D
square
#55158D #8D1915 #4D8D15 #15898D
split-complementary
#55158D #898D15 #158D19
monochromatic
#150522 #350D58 #55158D #751DC2 #943BE2

Accessibility & contrast

On white

11.18
#55158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#55158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55158D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55158D#FFFFFF#000000##FFFFFF
##55158D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#493853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55158d;
/* rgb */ color: rgb(85, 21, 141);
/* oklch */ color: oklch(37.6% 0.178 302.0);
Tailwind
colors: {
  custom: {
    50: '#8b5daf',
    500: '#55158d',
    950: '#000000',
  },
}
SCSS
$custom: #55158d;
$custom-light: #8b5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#55158d",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 272,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37586,
    "c": 0.17811,
    "h": 302
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#55158D
secondary
#7BC13D
accent
#F1378E
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #55158D

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

Preview Lab → · Contrast checker → · Palette generator →

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