#55236B#55236B

#55236B is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.3% C 0.126 H 313.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#55236B
RGBrgb(85, 35, 107)
HSLhsl(282, 51%, 28%)
HSVhsv(282, 67%, 42%)
CMYKcmyk(20.6%, 67.3%, 0%, 58%)
CIE-LABlab(24.31, 35.86, -32.28)
CIE-LCHlch(24.31, 48.25, 318.00°)
OKLaboklab(36.3% 0.0874 -0.0907)
OKLCHoklch(36.3% 0.126 313.9)
XYZxyz(7.0007, 4.1951, 14.3480)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55236B #396B23
analogous
#31236B #55236B #6B235D
triadic
#55236B #6B5523 #236B55
tetradic
#55236B #6B3123 #396B23 #235D6B
square
#55236B #6B3123 #396B23 #235D6B
split-complementary
#55236B #5D6B23 #236B31
monochromatic
#120817 #30143D #55236B #7A3299 #9C46C2

Accessibility & contrast

On white

11.42
#55236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#55236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55236B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55236B#FFFFFF#000000##FFFFFF
##55236B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376D
Deuteranopia (green-blind)
#203B69
Tritanopia (blue-blind)
#533143
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #55236b;
/* rgb */ color: rgb(85, 35, 107);
/* oklch */ color: oklch(36.3% 0.126 313.9);
Tailwind
colors: {
  custom: {
    50: '#876296',
    500: '#55236b',
    950: '#000000',
  },
}
SCSS
$custom: #55236b;
$custom-light: #876296;
$custom-dark: #000000;
JSON
{
  "hex": "#55236b",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 281.667,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36298,
    "c": 0.12597,
    "h": 313.9
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#55236B
secondary
#659E4B
accent
#DA4E79
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #55236B

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

Preview Lab → · Contrast checker → · Palette generator →

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