#55117F#55117F

#55117F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.168 H 307.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#55117F
RGBrgb(85, 17, 127)
HSLhsl(277, 76%, 28%)
HSVhsv(277, 87%, 50%)
CMYKcmyk(33.1%, 86.6%, 0%, 50.2%)
CIE-LABlab(23.22, 48.02, -46.84)
CIE-LCHlch(23.22, 67.08, 315.71°)
OKLaboklab(36.02% 0.1018 -0.1334)
OKLCHoklch(36.02% 0.168 307.4)
XYZxyz(7.7767, 3.8646, 20.4108)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55117F #3B7F11
analogous
#1E117F #55117F #7F1172
triadic
#55117F #7F5511 #117F55
tetradic
#55117F #7F1E11 #3B7F11 #11727F
square
#55117F #7F1E11 #3B7F11 #11727F
split-complementary
#55117F #727F11 #117F1E
monochromatic
#12041B #310A49 #55117F #7918B5 #9B28E2

Accessibility & contrast

On white

11.85
#55117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#55117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55117F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55117F#FFFFFF#000000##FFFFFF
##55117F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#4E304A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #55117f;
/* rgb */ color: rgb(85, 17, 127);
/* oklch */ color: oklch(36.0% 0.168 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a5aa5',
    500: '#55117f',
    950: '#000000',
  },
}
SCSS
$custom: #55117f;
$custom-light: #8a5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#55117f",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 277.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36017,
    "c": 0.16779,
    "h": 307.4
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#55117F
secondary
#67B537
accent
#F3357D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55117F

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

Preview Lab → · Contrast checker → · Palette generator →

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