#55148C#55148C

#55148C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.178 H 302.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#55148C
RGBrgb(85, 20, 140)
HSLhsl(273, 75%, 31%)
HSVhsv(273, 86%, 55%)
CMYKcmyk(39.3%, 85.7%, 0%, 45.1%)
CIE-LABlab(24.72, 50.08, -52.56)
CIE-LCHlch(24.72, 72.60, 313.61°)
OKLaboklab(37.42% 0.0954 -0.1502)
OKLCHoklch(37.42% 0.178 302.4)
XYZxyz(8.7289, 4.3250, 25.1808)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55148C #4B8C14
analogous
#19148C #55148C #8C1487
triadic
#55148C #8C5514 #148C55
tetradic
#55148C #8C1914 #4B8C14 #14878C
square
#55148C #8C1914 #4B8C14 #14878C
split-complementary
#55148C #878C14 #148C19
monochromatic
#140521 #340C56 #55148C #761CC2 #9438E3

Accessibility & contrast

On white

11.26
#55148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#55148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55148C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55148C#FFFFFF#000000##FFFFFF
##55148C1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#493752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #55148c;
/* rgb */ color: rgb(85, 20, 140);
/* oklch */ color: oklch(37.4% 0.178 302.4);
Tailwind
colors: {
  custom: {
    50: '#8b5caf',
    500: '#55148c',
    950: '#000000',
  },
}
SCSS
$custom: #55148c;
$custom-light: #8b5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#55148c",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 272.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.17794,
    "h": 302.4
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#55148C
secondary
#78C03C
accent
#F2368C
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0D0410
muted
#7D797F

Preview Lab

Preview with #55148C

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

Preview Lab → · Contrast checker → · Palette generator →

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