#55177F#55177F

#55177F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.162 H 306.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#55177F
RGBrgb(85, 23, 127)
HSLhsl(276, 69%, 29%)
HSVhsv(276, 82%, 50%)
CMYKcmyk(33.1%, 81.9%, 0%, 50.2%)
CIE-LABlab(23.92, 45.96, -45.70)
CIE-LCHlch(23.92, 64.81, 315.17°)
OKLaboklab(36.51% 0.0972 -0.13)
OKLCHoklch(36.51% 0.162 306.8)
XYZxyz(7.8826, 4.0765, 20.4461)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55177F #417F17
analogous
#21177F #55177F #7F1775
triadic
#55177F #7F5517 #177F55
tetradic
#55177F #7F2117 #417F17 #17757F
square
#55177F #7F2117 #417F17 #17757F
split-complementary
#55177F #757F17 #177F21
monochromatic
#11051A #320E4B #55177F #7820B3 #9836DB

Accessibility & contrast

On white

11.57
#55177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#55177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55177F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55177F#FFFFFF#000000##FFFFFF
##55177F1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#4E324B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55177f;
/* rgb */ color: rgb(85, 23, 127);
/* oklch */ color: oklch(36.5% 0.162 306.8);
Tailwind
colors: {
  custom: {
    50: '#8a5ca5',
    500: '#55177f',
    950: '#000000',
  },
}
SCSS
$custom: #55177f;
$custom-light: #8a5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#55177f",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 275.769,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.16236,
    "h": 306.8
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#55177F
secondary
#6EB43E
accent
#EC3C83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55177F

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

Preview Lab → · Contrast checker → · Palette generator →

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