#55117D#55117D

#55117D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.166 H 308.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#55117D
RGBrgb(85, 17, 125)
HSLhsl(278, 76%, 28%)
HSVhsv(278, 86%, 49%)
CMYKcmyk(32%, 86.4%, 0%, 51%)
CIE-LABlab(23.04, 47.57, -45.86)
CIE-LCHlch(23.04, 66.07, 316.05°)
OKLaboklab(35.84% 0.1024 -0.1305)
OKLCHoklch(35.84% 0.166 308.1)
XYZxyz(7.6476, 3.8130, 19.7312)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55117D #397D11
analogous
#1F117D #55117D #7D116F
triadic
#55117D #7D5511 #117D55
tetradic
#55117D #7D1F11 #397D11 #116F7D
square
#55117D #7D1F11 #397D11 #116F7D
split-complementary
#55117D #6F7D11 #117D1F
monochromatic
#12041B #300A47 #55117D #7A18B3 #9C27E2

Accessibility & contrast

On white

11.91
#55117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#55117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55117D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55117D#FFFFFF#000000##FFFFFF
##55117D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#4E2F49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #55117d;
/* rgb */ color: rgb(85, 17, 125);
/* oklch */ color: oklch(35.8% 0.166 308.1);
Tailwind
colors: {
  custom: {
    50: '#8a5aa3',
    500: '#55117d',
    950: '#000000',
  },
}
SCSS
$custom: #55117d;
$custom-light: #8a5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#55117d",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 277.778,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35841,
    "c": 0.16589,
    "h": 308.1
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#55117D
secondary
#65B337
accent
#F3357B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55117D

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

Preview Lab → · Contrast checker → · Palette generator →

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