#55117C#55117C

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

Color values

HEX#55117C
RGBrgb(85, 17, 124)
HSLhsl(278, 76%, 28%)
HSVhsv(278, 86%, 49%)
CMYKcmyk(31.5%, 86.3%, 0%, 51.4%)
CIE-LABlab(22.96, 47.34, -45.37)
CIE-LCHlch(22.96, 65.57, 316.22°)
OKLaboklab(35.75% 0.1028 -0.129)
OKLCHoklch(35.75% 0.165 308.5)
XYZxyz(7.5841, 3.7876, 19.3964)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55117C #387C11
analogous
#1F117C #55117C #7C116D
triadic
#55117C #7C5511 #117C55
tetradic
#55117C #7C1F11 #387C11 #116D7C
square
#55117C #7C1F11 #387C11 #116D7C
split-complementary
#55117C #6D7C11 #117C1F
monochromatic
#12041B #300A46 #55117C #7A18B2 #9D26E1

Accessibility & contrast

On white

11.95
#55117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55117C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55117C#FFFFFF#000000##FFFFFF
##55117C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#4F2E48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #55117c;
/* rgb */ color: rgb(85, 17, 124);
/* oklch */ color: oklch(35.8% 0.165 308.5);
Tailwind
colors: {
  custom: {
    50: '#8a5aa3',
    500: '#55117c',
    950: '#000000',
  },
}
SCSS
$custom: #55117c;
$custom-light: #8a5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#55117c",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 278.131,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35754,
    "c": 0.16494,
    "h": 308.5
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#55117C
secondary
#64B237
accent
#F2357A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55117C

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

Preview Lab → · Contrast checker → · Palette generator →

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