#55229A#55229A

#55229A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.179 H 296.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#55229A
RGBrgb(85, 34, 154)
HSLhsl(266, 64%, 37%)
HSVhsv(266, 78%, 60%)
CMYKcmyk(44.8%, 77.9%, 0%, 39.6%)
CIE-LABlab(27.87, 48.13, -56.04)
CIE-LCHlch(27.87, 73.87, 310.66°)
OKLaboklab(40% 0.0803 -0.1605)
OKLCHoklch(40% 0.179 296.6)
XYZxyz(10.1495, 5.4082, 31.0747)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55229A #679A22
analogous
#222B9A #55229A #91229A
triadic
#55229A #9A5522 #229A55
tetradic
#55229A #9A222B #679A22 #229A91
square
#55229A #9A222B #679A22 #229A91
split-complementary
#55229A #9A9122 #2B9A22
monochromatic
#1E0C36 #391768 #55229A #712DCC #925BDB

Accessibility & contrast

On white

10.09
#55229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#55229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55229A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55229A#FFFFFF#000000##FFFFFF
##55229A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55229a;
/* rgb */ color: rgb(85, 34, 154);
/* oklch */ color: oklch(40.0% 0.179 296.6);
Tailwind
colors: {
  custom: {
    50: '#8c63b9',
    500: '#55229a',
    950: '#000000',
  },
}
SCSS
$custom: #55229a;
$custom-light: #8c63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55229a",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 265.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.17949,
    "h": 296.6
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#55229A
secondary
#94BF58
accent
#E741A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55229A

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

Preview Lab → · Contrast checker → · Palette generator →

#55229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva