#55277E#55277E

#55277E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.142 H 304.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#55277E
RGBrgb(85, 39, 126)
HSLhsl(272, 53%, 32%)
HSVhsv(272, 69%, 49%)
CMYKcmyk(32.5%, 69%, 0%, 50.6%)
CIE-LABlab(26.42, 38.44, -41.02)
CIE-LCHlch(26.42, 56.22, 313.14°)
OKLaboklab(38.25% 0.0809 -0.1164)
OKLCHoklch(38.25% 0.142 304.8)
XYZxyz(8.2369, 4.8887, 20.2443)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55277E #507E27
analogous
#2A277E #55277E #7E277C
triadic
#55277E #7E5527 #277E55
tetradic
#55277E #7E2A27 #507E27 #277C7E
square
#55277E #7E2A27 #507E27 #277C7E
split-complementary
#55277E #7C7E27 #277E2A
monochromatic
#160A21 #35194F #55277E #7535AD #9355CA

Accessibility & contrast

On white

10.62
#55277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#55277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55277E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55277E#FFFFFF#000000##FFFFFF
##55277E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#0B3F7C
Tritanopia (blue-blind)
#4E3A4F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #55277e;
/* rgb */ color: rgb(85, 39, 126);
/* oklch */ color: oklch(38.2% 0.142 304.8);
Tailwind
colors: {
  custom: {
    50: '#8965a4',
    500: '#55277e',
    950: '#000000',
  },
}
SCSS
$custom: #55277e;
$custom-light: #8965a4;
$custom-dark: #000000;
JSON
{
  "hex": "#55277e",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 271.724,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38248,
    "c": 0.14177,
    "h": 304.8
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#55277E
secondary
#7EAF52
accent
#DC4C90
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #55277E

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

Preview Lab → · Contrast checker → · Palette generator →

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