#55148F#55148F

#55148F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.181 H 301.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#55148F
RGBrgb(85, 20, 143)
HSLhsl(272, 75%, 32%)
HSVhsv(272, 86%, 56%)
CMYKcmyk(40.6%, 86%, 0%, 43.9%)
CIE-LABlab(25.00, 50.79, -53.97)
CIE-LCHlch(25.00, 74.11, 313.26°)
OKLaboklab(37.69% 0.0944 -0.1543)
OKLCHoklch(37.69% 0.181 301.5)
XYZxyz(8.9532, 4.4147, 26.3617)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55148F #4E8F14
analogous
#17148F #55148F #8F148C
triadic
#55148F #8F5514 #148F55
tetradic
#55148F #8F1714 #4E8F14 #148C8F
square
#55148F #8F1714 #4E8F14 #148C8F
split-complementary
#55148F #8C8F14 #148F17
monochromatic
#150524 #350C59 #55148F #751CC5 #943AE3

Accessibility & contrast

On white

11.15
#55148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#55148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55148F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55148F#FFFFFF#000000##FFFFFF
##55148F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55148f;
/* rgb */ color: rgb(85, 20, 143);
/* oklch */ color: oklch(37.7% 0.181 301.5);
Tailwind
colors: {
  custom: {
    50: '#8b5cb1',
    500: '#55148f',
    950: '#000000',
  },
}
SCSS
$custom: #55148f;
$custom-light: #8b5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#55148f",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 271.707,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37694,
    "c": 0.18088,
    "h": 301.5
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#55148F
secondary
#7CC33C
accent
#F2368F
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #55148F

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

Preview Lab → · Contrast checker → · Palette generator →

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