#55239A#55239A

#55239A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.178 H 296.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#55239A
RGBrgb(85, 35, 154)
HSLhsl(265, 63%, 37%)
HSVhsv(265, 77%, 60%)
CMYKcmyk(44.8%, 77.3%, 0%, 39.6%)
CIE-LABlab(28.02, 47.68, -55.79)
CIE-LCHlch(28.02, 73.39, 310.52°)
OKLaboklab(40.11% 0.0795 -0.1598)
OKLCHoklch(40.11% 0.178 296.4)
XYZxyz(10.1785, 5.4662, 31.0844)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55239A #689A23
analogous
#232D9A #55239A #91239A
triadic
#55239A #9A5523 #239A55
tetradic
#55239A #9A232D #689A23 #239A91
square
#55239A #9A232D #689A23 #239A91
split-complementary
#55239A #9A9123 #2D9A23
monochromatic
#1E0C36 #391868 #55239A #712ECC #925DDA

Accessibility & contrast

On white

10.03
#55239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#55239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55239A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55239A#FFFFFF#000000##FFFFFF
##55239A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#42435D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55239a;
/* rgb */ color: rgb(85, 35, 154);
/* oklch */ color: oklch(40.1% 0.178 296.4);
Tailwind
colors: {
  custom: {
    50: '#8c64b9',
    500: '#55239a',
    950: '#000000',
  },
}
SCSS
$custom: #55239a;
$custom-light: #8c64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55239a",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 265.21,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.17844,
    "h": 296.4
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#55239A
secondary
#94BF5A
accent
#E642A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55239A

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

Preview Lab → · Contrast checker → · Palette generator →

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