#55229C#55229C

#55229C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.182 H 296.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#55229C
RGBrgb(85, 34, 156)
HSLhsl(265, 64%, 37%)
HSVhsv(265, 78%, 61%)
CMYKcmyk(45.5%, 78.2%, 0%, 38.8%)
CIE-LABlab(28.05, 48.65, -56.97)
CIE-LCHlch(28.05, 74.92, 310.50°)
OKLaboklab(40.18% 0.0798 -0.1632)
OKLCHoklch(40.18% 0.182 296)
XYZxyz(10.3175, 5.4754, 31.9593)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55229C #699C22
analogous
#222C9C #55229C #92229C
triadic
#55229C #9C5522 #229C55
tetradic
#55229C #9C222C #699C22 #229C92
square
#55229C #9C222C #699C22 #229C92
split-complementary
#55229C #9C9222 #2C9C22
monochromatic
#1E0C38 #3A176A #55229C #702DCE #925DDC

Accessibility & contrast

On white

10.02
#55229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55229C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55229C#FFFFFF#000000##FFFFFF
##55229C1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#41435E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55229c;
/* rgb */ color: rgb(85, 34, 156);
/* oklch */ color: oklch(40.2% 0.182 296.0);
Tailwind
colors: {
  custom: {
    50: '#8c63ba',
    500: '#55229c',
    950: '#000000',
  },
}
SCSS
$custom: #55229c;
$custom-light: #8c63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#55229c",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 265.082,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4018,
    "c": 0.18167,
    "h": 296
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#55229C
secondary
#95C05A
accent
#E741A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55229C

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

Preview Lab → · Contrast checker → · Palette generator →

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