#55138D#55138D

#55138D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.180 H 302.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#55138D
RGBrgb(85, 19, 141)
HSLhsl(272, 76%, 31%)
HSVhsv(272, 87%, 55%)
CMYKcmyk(39.7%, 86.5%, 0%, 44.7%)
CIE-LABlab(24.70, 50.63, -53.21)
CIE-LCHlch(24.70, 73.45, 313.58°)
OKLaboklab(37.43% 0.0958 -0.1521)
OKLCHoklch(37.43% 0.18 302.2)
XYZxyz(8.7857, 4.3201, 25.5651)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55138D #4B8D13
analogous
#18138D #55138D #8D1388
triadic
#55138D #8D5513 #138D55
tetradic
#55138D #8D1813 #4B8D13 #13888D
square
#55138D #8D1813 #4B8D13 #13888D
split-complementary
#55138D #888D13 #138D18
monochromatic
#140421 #340C57 #55138D #761AC3 #9436E4

Accessibility & contrast

On white

11.27
#55138D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#55138D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55138D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55138D#FFFFFF#000000##FFFFFF
##55138D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#493753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55138d;
/* rgb */ color: rgb(85, 19, 141);
/* oklch */ color: oklch(37.4% 0.180 302.2);
Tailwind
colors: {
  custom: {
    50: '#8b5caf',
    500: '#55138d',
    950: '#000000',
  },
}
SCSS
$custom: #55138d;
$custom-light: #8b5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#55138d",
  "rgb": {
    "r": 85,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 272.459,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.1797,
    "h": 302.2
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#55138D
secondary
#78C13B
accent
#F3358C
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #55138D

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

Preview Lab → · Contrast checker → · Palette generator →

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