#55128F#55128F

#55128F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.5% C 0.182 H 301.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#55128F
RGBrgb(85, 18, 143)
HSLhsl(272, 78%, 32%)
HSVhsv(272, 87%, 56%)
CMYKcmyk(40.6%, 87.4%, 0%, 43.9%)
CIE-LABlab(24.79, 51.41, -54.31)
CIE-LCHlch(24.79, 74.78, 313.43°)
OKLaboklab(37.55% 0.0956 -0.1553)
OKLCHoklch(37.55% 0.182 301.6)
XYZxyz(8.9193, 4.3470, 26.3504)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55128F #4C8F12
analogous
#17128F #55128F #8F128B
triadic
#55128F #8F5512 #128F55
tetradic
#55128F #8F1712 #4C8F12 #128B8F
square
#55128F #8F1712 #4C8F12 #128B8F
split-complementary
#55128F #8B8F12 #128F17
monochromatic
#140422 #350B59 #55128F #7519C5 #9436E6

Accessibility & contrast

On white

11.23
#55128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#55128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55128F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55128F#FFFFFF#000000##FFFFFF
##55128F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#483854
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55128f;
/* rgb */ color: rgb(85, 18, 143);
/* oklch */ color: oklch(37.5% 0.182 301.6);
Tailwind
colors: {
  custom: {
    50: '#8c5cb1',
    500: '#55128f',
    950: '#000000',
  },
}
SCSS
$custom: #55128f;
$custom-light: #8c5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#55128f",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 272.16,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.18239,
    "h": 301.6
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#55128F
secondary
#79C33A
accent
#F4348D
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0411
muted
#7E7980

Preview Lab

Preview with #55128F

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

Preview Lab → · Contrast checker → · Palette generator →

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