#55239C#55239C

#55239C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.181 H 295.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#55239C
RGBrgb(85, 35, 156)
HSLhsl(265, 63%, 37%)
HSVhsv(265, 78%, 61%)
CMYKcmyk(45.5%, 77.6%, 0%, 38.8%)
CIE-LABlab(28.20, 48.21, -56.72)
CIE-LCHlch(28.20, 74.44, 310.36°)
OKLaboklab(40.29% 0.0789 -0.1625)
OKLCHoklch(40.29% 0.181 295.9)
XYZxyz(10.3465, 5.5334, 31.9690)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55239C #6A9C23
analogous
#232E9C #55239C #91239C
triadic
#55239C #9C5523 #239C55
tetradic
#55239C #9C232E #6A9C23 #239C91
square
#55239C #9C232E #6A9C23 #239C91
split-complementary
#55239C #9C9123 #2E9C23
monochromatic
#1F0D38 #3A186A #55239C #702ECE #925EDB

Accessibility & contrast

On white

9.97
#55239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#55239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55239C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55239C#FFFFFF#000000##FFFFFF
##55239C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#41445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55239c;
/* rgb */ color: rgb(85, 35, 156);
/* oklch */ color: oklch(40.3% 0.181 295.9);
Tailwind
colors: {
  custom: {
    50: '#8c64ba',
    500: '#55239c',
    950: '#000000',
  },
}
SCSS
$custom: #55239c;
$custom-light: #8c64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#55239c",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 264.793,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40288,
    "c": 0.18065,
    "h": 295.9
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#55239C
secondary
#96C05B
accent
#E641A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55239C

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

Preview Lab → · Contrast checker → · Palette generator →

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