#55158A#55158A

#55158A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.175 H 303.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#55158A
RGBrgb(85, 21, 138)
HSLhsl(273, 74%, 31%)
HSVhsv(273, 85%, 54%)
CMYKcmyk(38.4%, 84.8%, 0%, 45.9%)
CIE-LABlab(24.65, 49.27, -51.43)
CIE-LCHlch(24.65, 71.22, 313.77°)
OKLaboklab(37.31% 0.0954 -0.1469)
OKLCHoklch(37.31% 0.175 303)
XYZxyz(8.6008, 4.3026, 24.4172)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55158A #4A8A15
analogous
#1B158A #55158A #8A1584
triadic
#55158A #8A5515 #158A55
tetradic
#55158A #8A1B15 #4A8A15 #15848A
square
#55158A #8A1B15 #4A8A15 #15848A
split-complementary
#55158A #848A15 #158A1B
monochromatic
#140520 #340D55 #55158A #761DBF #9539E1

Accessibility & contrast

On white

11.29
#55158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#55158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55158A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55158A#FFFFFF#000000##FFFFFF
##55158A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#4A3651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55158a;
/* rgb */ color: rgb(85, 21, 138);
/* oklch */ color: oklch(37.3% 0.175 303.0);
Tailwind
colors: {
  custom: {
    50: '#8b5cad',
    500: '#55158a',
    950: '#000000',
  },
}
SCSS
$custom: #55158a;
$custom-light: #8b5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#55158a",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 272.821,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37311,
    "c": 0.17515,
    "h": 303
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#55158A
secondary
#77BE3D
accent
#F0388B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #55158A

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

Preview Lab → · Contrast checker → · Palette generator →

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