#55138E#55138E

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

Color values

HEX#55138E
RGBrgb(85, 19, 142)
HSLhsl(272, 76%, 32%)
HSVhsv(272, 87%, 56%)
CMYKcmyk(40.1%, 86.6%, 0%, 44.3%)
CIE-LABlab(24.80, 50.87, -53.68)
CIE-LCHlch(24.80, 73.95, 313.46°)
OKLaboklab(37.53% 0.0954 -0.1534)
OKLCHoklch(37.53% 0.181 301.9)
XYZxyz(8.8605, 4.3500, 25.9588)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55138E #4C8E13
analogous
#17138E #55138E #8E138A
triadic
#55138E #8E5513 #138E55
tetradic
#55138E #8E1713 #4C8E13 #138A8E
square
#55138E #8E1713 #4C8E13 #138A8E
split-complementary
#55138E #8A8E13 #138E17
monochromatic
#140522 #350C58 #55138E #751AC4 #9437E4

Accessibility & contrast

On white

11.23
#55138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#55138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55138E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55138E#FFFFFF#000000##FFFFFF
##55138E1.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)
#003A91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#483753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55138e;
/* rgb */ color: rgb(85, 19, 142);
/* oklch */ color: oklch(37.5% 0.181 301.9);
Tailwind
colors: {
  custom: {
    50: '#8b5cb0',
    500: '#55138e',
    950: '#000000',
  },
}
SCSS
$custom: #55138e;
$custom-light: #8b5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#55138e",
  "rgb": {
    "r": 85,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 272.195,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37527,
    "c": 0.18067,
    "h": 301.9
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#55138E
secondary
#79C23B
accent
#F3358D
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0411
muted
#7E7980

Preview Lab

Preview with #55138E

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

Preview Lab → · Contrast checker → · Palette generator →

#55138E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva