#55138C#55138C

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

Color values

HEX#55138C
RGBrgb(85, 19, 140)
HSLhsl(273, 76%, 31%)
HSVhsv(273, 86%, 55%)
CMYKcmyk(39.3%, 86.4%, 0%, 45.1%)
CIE-LABlab(24.61, 50.40, -52.74)
CIE-LCHlch(24.61, 72.94, 313.70°)
OKLaboklab(37.34% 0.0961 -0.1507)
OKLCHoklch(37.34% 0.179 302.5)
XYZxyz(8.7117, 4.2905, 25.1750)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55138C #4A8C13
analogous
#18138C #55138C #8C1386
triadic
#55138C #8C5513 #138C55
tetradic
#55138C #8C1813 #4A8C13 #13868C
square
#55138C #8C1813 #4A8C13 #13868C
split-complementary
#55138C #868C13 #138C18
monochromatic
#140420 #340C56 #55138C #761AC2 #9536E4

Accessibility & contrast

On white

11.30
#55138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55138C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55138C#FFFFFF#000000##FFFFFF
##55138C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55138c;
/* rgb */ color: rgb(85, 19, 140);
/* oklch */ color: oklch(37.3% 0.179 302.5);
Tailwind
colors: {
  custom: {
    50: '#8b5caf',
    500: '#55138c',
    950: '#000000',
  },
}
SCSS
$custom: #55138c;
$custom-light: #8b5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#55138c",
  "rgb": {
    "r": 85,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 272.727,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.17873,
    "h": 302.5
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#55138C
secondary
#77C03B
accent
#F3358B
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #55138C

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

Preview Lab → · Contrast checker → · Palette generator →

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