#55229E#55229E

#55229E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.184 H 295.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#55229E
RGBrgb(85, 34, 158)
HSLhsl(265, 65%, 38%)
HSVhsv(265, 78%, 62%)
CMYKcmyk(46.2%, 78.5%, 0%, 38%)
CIE-LABlab(28.23, 49.17, -57.89)
CIE-LCHlch(28.23, 75.96, 310.34°)
OKLaboklab(40.36% 0.0792 -0.1659)
OKLCHoklch(40.36% 0.184 295.5)
XYZxyz(10.4882, 5.5437, 32.8586)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55229E #6B9E22
analogous
#222D9E #55229E #93229E
triadic
#55229E #9E5522 #229E55
tetradic
#55229E #9E222D #6B9E22 #229E93
square
#55229E #9E222D #6B9E22 #229E93
split-complementary
#55229E #9E9322 #2D9E22
monochromatic
#1F0C39 #3A176C #55229E #702DD0 #925EDC

Accessibility & contrast

On white

9.96
#55229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#55229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55229E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55229E#FFFFFF#000000##FFFFFF
##55229E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#40445F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55229e;
/* rgb */ color: rgb(85, 34, 158);
/* oklch */ color: oklch(40.4% 0.184 295.5);
Tailwind
colors: {
  custom: {
    50: '#8c63bc',
    500: '#55229e',
    950: '#000000',
  },
}
SCSS
$custom: #55229e;
$custom-light: #8c63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#55229e",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 264.677,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.18385,
    "h": 295.5
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#55229E
secondary
#97C15B
accent
#E840A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55229E

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

Preview Lab → · Contrast checker → · Palette generator →

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