#55239B#55239B

#55239B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.180 H 296.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#55239B
RGBrgb(85, 35, 155)
HSLhsl(265, 63%, 37%)
HSVhsv(265, 77%, 61%)
CMYKcmyk(45.2%, 77.4%, 0%, 39.2%)
CIE-LABlab(28.11, 47.94, -56.25)
CIE-LCHlch(28.11, 73.91, 310.44°)
OKLaboklab(40.2% 0.0792 -0.1611)
OKLCHoklch(40.2% 0.18 296.2)
XYZxyz(10.2622, 5.4997, 31.5248)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55239B #699B23
analogous
#232D9B #55239B #91239B
triadic
#55239B #9B5523 #239B55
tetradic
#55239B #9B232D #699B23 #239B91
square
#55239B #9B232D #699B23 #239B91
split-complementary
#55239B #9B9123 #2D9B23
monochromatic
#1E0C37 #3A1869 #55239B #702ECD #925EDB

Accessibility & contrast

On white

10.00
#55239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#55239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55239B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55239B#FFFFFF#000000##FFFFFF
##55239B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55239b;
/* rgb */ color: rgb(85, 35, 155);
/* oklch */ color: oklch(40.2% 0.180 296.2);
Tailwind
colors: {
  custom: {
    50: '#8c64b9',
    500: '#55239b',
    950: '#000000',
  },
}
SCSS
$custom: #55239b;
$custom-light: #8c64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55239b",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 265,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.17955,
    "h": 296.2
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#55239B
secondary
#95BF5A
accent
#E642A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55239B

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

Preview Lab → · Contrast checker → · Palette generator →

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