#55219B#55219B

#55219B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.182 H 296.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#55219B
RGBrgb(85, 33, 155)
HSLhsl(266, 65%, 37%)
HSVhsv(266, 79%, 61%)
CMYKcmyk(45.2%, 78.7%, 0%, 39.2%)
CIE-LABlab(27.81, 48.83, -56.76)
CIE-LCHlch(27.81, 74.87, 310.71°)
OKLaboklab(39.98% 0.0809 -0.1626)
OKLCHoklch(39.98% 0.182 296.4)
XYZxyz(10.2050, 5.3853, 31.5058)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55219B #679B21
analogous
#212A9B #55219B #92219B
triadic
#55219B #9B5521 #219B55
tetradic
#55219B #9B212A #679B21 #219B92
square
#55219B #9B212A #679B21 #219B92
split-complementary
#55219B #9B9221 #2A9B21
monochromatic
#1E0C36 #391669 #55219B #712CCD #925ADC

Accessibility & contrast

On white

10.11
#55219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#55219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55219B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55219B#FFFFFF#000000##FFFFFF
##55219B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#42435D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55219b;
/* rgb */ color: rgb(85, 33, 155);
/* oklch */ color: oklch(40.0% 0.182 296.4);
Tailwind
colors: {
  custom: {
    50: '#8c63b9',
    500: '#55219b',
    950: '#000000',
  },
}
SCSS
$custom: #55219b;
$custom-light: #8c63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55219b",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 265.574,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.1816,
    "h": 296.4
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#55219B
secondary
#94C058
accent
#E840A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55219B

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

Preview Lab → · Contrast checker → · Palette generator →

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