#55278B#55278B

#55278B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.157 H 300.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#55278B
RGBrgb(85, 39, 139)
HSLhsl(268, 56%, 35%)
HSVhsv(268, 72%, 55%)
CMYKcmyk(38.8%, 71.9%, 0%, 45.5%)
CIE-LABlab(27.43, 41.82, -47.52)
CIE-LCHlch(27.43, 63.30, 311.35°)
OKLaboklab(39.29% 0.079 -0.1355)
OKLCHoklch(39.29% 0.157 300.2)
XYZxyz(9.1309, 5.2463, 24.9527)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55278B #5D8B27
analogous
#272B8B #55278B #87278B
triadic
#55278B #8B5527 #278B55
tetradic
#55278B #8B272B #5D8B27 #278B87
square
#55278B #8B272B #5D8B27 #278B87
split-complementary
#55278B #8B8727 #2B8B27
monochromatic
#1B0C2B #381A5B #55278B #7234BB #915BD1

Accessibility & contrast

On white

10.25
#55278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#55278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55278B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55278B#FFFFFF#000000##FFFFFF
##55278B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#493F56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #55278b;
/* rgb */ color: rgb(85, 39, 139);
/* oklch */ color: oklch(39.3% 0.157 300.2);
Tailwind
colors: {
  custom: {
    50: '#8a65ae',
    500: '#55278b',
    950: '#000000',
  },
}
SCSS
$custom: #55278b;
$custom-light: #8a65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55278b",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 267.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.15687,
    "h": 300.2
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#55278B
secondary
#8BB658
accent
#DF489A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55278B

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

Preview Lab → · Contrast checker → · Palette generator →

#55278B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva