#55117E#55117E

#55117E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.167 H 307.7°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#55117E
RGBrgb(85, 17, 126)
HSLhsl(277, 76%, 28%)
HSVhsv(277, 87%, 49%)
CMYKcmyk(32.5%, 86.5%, 0%, 50.6%)
CIE-LABlab(23.13, 47.79, -46.35)
CIE-LCHlch(23.13, 66.58, 315.88°)
OKLaboklab(35.93% 0.1021 -0.1319)
OKLCHoklch(35.93% 0.167 307.7)
XYZxyz(7.7119, 3.8387, 20.0693)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55117E #3A7E11
analogous
#1E117E #55117E #7E1170
triadic
#55117E #7E5511 #117E55
tetradic
#55117E #7E1E11 #3A7E11 #11707E
square
#55117E #7E1E11 #3A7E11 #11707E
split-complementary
#55117E #707E11 #117E1E
monochromatic
#12041B #310A48 #55117E #7918B4 #9C27E2

Accessibility & contrast

On white

11.88
#55117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55117E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55117E#FFFFFF#000000##FFFFFF
##55117E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#4E2F4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #55117e;
/* rgb */ color: rgb(85, 17, 126);
/* oklch */ color: oklch(35.9% 0.167 307.7);
Tailwind
colors: {
  custom: {
    50: '#8a5aa4',
    500: '#55117e',
    950: '#000000',
  },
}
SCSS
$custom: #55117e;
$custom-light: #8a5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#55117e",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 277.431,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35929,
    "c": 0.16684,
    "h": 307.7
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#55117E
secondary
#66B437
accent
#F3357C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55117E

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

Preview Lab → · Contrast checker → · Palette generator →

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