#55159E#55159E

#55159E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.2% C 0.195 H 296.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#55159E
RGBrgb(85, 21, 158)
HSLhsl(268, 77%, 35%)
HSVhsv(268, 87%, 62%)
CMYKcmyk(46.2%, 86.7%, 0%, 38%)
CIE-LABlab(26.55, 54.07, -60.65)
CIE-LCHlch(26.55, 81.25, 311.72°)
OKLaboklab(39.2% 0.0882 -0.1739)
OKLCHoklch(39.2% 0.195 296.9)
XYZxyz(10.1844, 4.9360, 32.7573)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55159E #5E9E15
analogous
#151A9E #55159E #99159E
triadic
#55159E #9E5515 #159E55
tetradic
#55159E #9E151A #5E9E15 #159E99
square
#55159E #9E151A #5E9E15 #159E99
split-complementary
#55159E #9E9915 #1A9E15
monochromatic
#1B0732 #380E68 #55159E #721CD4 #9147E7

Accessibility & contrast

On white

10.57
#55159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#55159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55159E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55159E#FFFFFF#000000##FFFFFF
##55159E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#413F5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55159e;
/* rgb */ color: rgb(85, 21, 158);
/* oklch */ color: oklch(39.2% 0.195 296.9);
Tailwind
colors: {
  custom: {
    50: '#8d5ebc',
    500: '#55159e',
    950: '#000000',
  },
}
SCSS
$custom: #55159e;
$custom-light: #8d5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#55159e",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 268.029,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.19496,
    "h": 296.9
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#55159E
secondary
#8CC747
accent
#F3359A
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #55159E

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

Preview Lab → · Contrast checker → · Palette generator →

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