#55157B#55157B

#55157B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.160 H 308.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#55157B
RGBrgb(85, 21, 123)
HSLhsl(278, 71%, 28%)
HSVhsv(278, 83%, 48%)
CMYKcmyk(30.9%, 82.9%, 0%, 51.8%)
CIE-LABlab(23.33, 45.77, -44.12)
CIE-LCHlch(23.33, 63.58, 316.05°)
OKLaboklab(35.99% 0.1 -0.1254)
OKLCHoklch(35.99% 0.16 308.6)
XYZxyz(7.5889, 3.8978, 19.0876)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55157B #3B7B15
analogous
#22157B #55157B #7B156E
triadic
#55157B #7B5515 #157B55
tetradic
#55157B #7B2215 #3B7B15 #156E7B
square
#55157B #7B2215 #3B7B15 #156E7B
split-complementary
#55157B #6E7B15 #157B22
monochromatic
#12041A #310C47 #55157B #791EAF #9B2FDB

Accessibility & contrast

On white

11.80
#55157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#55157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55157B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55157B#FFFFFF#000000##FFFFFF
##55157B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#4F3049
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #55157b;
/* rgb */ color: rgb(85, 21, 123);
/* oklch */ color: oklch(36.0% 0.160 308.6);
Tailwind
colors: {
  custom: {
    50: '#895ba2',
    500: '#55157b',
    950: '#000000',
  },
}
SCSS
$custom: #55157b;
$custom-light: #895ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#55157b",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 277.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35988,
    "c": 0.16037,
    "h": 308.6
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#55157B
secondary
#67B03B
accent
#EE3A7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55157B

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

Preview Lab → · Contrast checker → · Palette generator →

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