#55158F#55158F

#55158F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.180 H 301.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#55158F
RGBrgb(85, 21, 143)
HSLhsl(271, 74%, 32%)
HSVhsv(271, 85%, 56%)
CMYKcmyk(40.6%, 85.3%, 0%, 43.9%)
CIE-LABlab(25.11, 50.46, -53.78)
CIE-LCHlch(25.11, 73.75, 313.17°)
OKLaboklab(37.77% 0.0937 -0.1538)
OKLCHoklch(37.77% 0.18 301.4)
XYZxyz(8.9712, 4.4507, 26.3677)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55158F #4F8F15
analogous
#18158F #55158F #8F158C
triadic
#55158F #8F5515 #158F55
tetradic
#55158F #8F1815 #4F8F15 #158C8F
square
#55158F #8F1815 #4F8F15 #158C8F
split-complementary
#55158F #8C8F15 #158F18
monochromatic
#160524 #350D5A #55158F #751DC4 #933CE2

Accessibility & contrast

On white

11.11
#55158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#55158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55158F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55158F#FFFFFF#000000##FFFFFF
##55158F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55158f;
/* rgb */ color: rgb(85, 21, 143);
/* oklch */ color: oklch(37.8% 0.180 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b5db1',
    500: '#55158f',
    950: '#000000',
  },
}
SCSS
$custom: #55158f;
$custom-light: #8b5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#55158f",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 271.475,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.18009,
    "h": 301.4
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#55158F
secondary
#7DC23E
accent
#F1378F
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #55158F

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

Preview Lab → · Contrast checker → · Palette generator →

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