#55236A#55236A

#55236A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.2% C 0.125 H 314.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#55236A
RGBrgb(85, 35, 106)
HSLhsl(282, 50%, 28%)
HSVhsv(282, 67%, 42%)
CMYKcmyk(19.8%, 67%, 0%, 58.4%)
CIE-LABlab(24.24, 35.62, -31.74)
CIE-LCHlch(24.24, 47.71, 318.30°)
OKLaboklab(36.23% 0.0874 -0.0891)
OKLCHoklch(36.23% 0.125 314.4)
XYZxyz(6.9484, 4.1742, 14.0726)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55236A #386A23
analogous
#32236A #55236A #6A235B
triadic
#55236A #6A5523 #236A55
tetradic
#55236A #6A3223 #386A23 #235B6A
square
#55236A #6A3223 #386A23 #235B6A
split-complementary
#55236A #5B6A23 #236A32
monochromatic
#120817 #30143C #55236A #7A3298 #9D46C2

Accessibility & contrast

On white

11.45
#55236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#55236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55236A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55236A#FFFFFF#000000##FFFFFF
##55236A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376C
Deuteranopia (green-blind)
#213B68
Tritanopia (blue-blind)
#533043
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #55236a;
/* rgb */ color: rgb(85, 35, 106);
/* oklch */ color: oklch(36.2% 0.125 314.4);
Tailwind
colors: {
  custom: {
    50: '#876295',
    500: '#55236a',
    950: '#000000',
  },
}
SCSS
$custom: #55236a;
$custom-light: #876295;
$custom-dark: #000000;
JSON
{
  "hex": "#55236a",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 282.254,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36228,
    "c": 0.12486,
    "h": 314.4
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#55236A
secondary
#649D4B
accent
#DA4E77
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #55236A

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

Preview Lab → · Contrast checker → · Palette generator →

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