#55229D#55229D

#55229D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.183 H 295.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#55229D
RGBrgb(85, 34, 157)
HSLhsl(265, 64%, 37%)
HSVhsv(265, 78%, 62%)
CMYKcmyk(45.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(28.14, 48.91, -57.43)
CIE-LCHlch(28.14, 75.44, 310.42°)
OKLaboklab(40.27% 0.0795 -0.1646)
OKLCHoklch(40.27% 0.183 295.8)
XYZxyz(10.4025, 5.5094, 32.4071)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55229D #6A9D22
analogous
#222D9D #55229D #93229D
triadic
#55229D #9D5522 #229D55
tetradic
#55229D #9D222D #6A9D22 #229D93
square
#55229D #9D222D #6A9D22 #229D93
split-complementary
#55229D #9D9322 #2D9D22
monochromatic
#1F0C38 #3A176B #55229D #702DCF #925DDC

Accessibility & contrast

On white

9.99
#55229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#55229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55229D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55229D#FFFFFF#000000##FFFFFF
##55229D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#41445F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55229d;
/* rgb */ color: rgb(85, 34, 157);
/* oklch */ color: oklch(40.3% 0.183 295.8);
Tailwind
colors: {
  custom: {
    50: '#8c63bb',
    500: '#55229d',
    950: '#000000',
  },
}
SCSS
$custom: #55229d;
$custom-light: #8c63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#55229d",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 264.878,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.18276,
    "h": 295.8
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#55229D
secondary
#96C15A
accent
#E740A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55229D

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

Preview Lab → · Contrast checker → · Palette generator →

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