#55128C#55128C

#55128C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.179 H 302.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#55128C
RGBrgb(85, 18, 140)
HSLhsl(273, 77%, 31%)
HSVhsv(273, 87%, 55%)
CMYKcmyk(39.3%, 87.1%, 0%, 45.1%)
CIE-LABlab(24.50, 50.71, -52.91)
CIE-LCHlch(24.50, 73.28, 313.78°)
OKLaboklab(37.27% 0.0967 -0.1512)
OKLCHoklch(37.27% 0.179 302.6)
XYZxyz(8.6951, 4.2573, 25.1695)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55128C #498C12
analogous
#18128C #55128C #8C1286
triadic
#55128C #8C5512 #128C55
tetradic
#55128C #8C1812 #498C12 #12868C
square
#55128C #8C1812 #498C12 #12868C
split-complementary
#55128C #868C12 #128C18
monochromatic
#130420 #340B56 #55128C #7619C2 #9534E5

Accessibility & contrast

On white

11.34
#55128C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#55128C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55128C
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55128C#FFFFFF#000000##FFFFFF
##55128C1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#493652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #55128c;
/* rgb */ color: rgb(85, 18, 140);
/* oklch */ color: oklch(37.3% 0.179 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b5baf',
    500: '#55128c',
    950: '#000000',
  },
}
SCSS
$custom: #55128c;
$custom-light: #8b5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#55128c",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 140
  },
  "hsl": {
    "h": 272.951,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37269,
    "c": 0.17948,
    "h": 302.6
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#55128C
secondary
#76C039
accent
#F4348A
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #55128C

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

Preview Lab → · Contrast checker → · Palette generator →

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