#55239F#55239F

#55239F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.184 H 295.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#55239F
RGBrgb(85, 35, 159)
HSLhsl(264, 64%, 38%)
HSVhsv(264, 78%, 62%)
CMYKcmyk(46.5%, 78%, 0%, 37.6%)
CIE-LABlab(28.48, 48.99, -58.10)
CIE-LCHlch(28.48, 76.00, 310.14°)
OKLaboklab(40.56% 0.0781 -0.1665)
OKLCHoklch(40.56% 0.184 295.1)
XYZxyz(10.6037, 5.6363, 33.3234)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55239F #6D9F23
analogous
#232F9F #55239F #93239F
triadic
#55239F #9F5523 #239F55
tetradic
#55239F #9F232F #6D9F23 #239F93
square
#55239F #9F232F #6D9F23 #239F93
split-complementary
#55239F #9F9323 #2F9F23
monochromatic
#1F0D3B #3A186D #55239F #702ED1 #9260DC

Accessibility & contrast

On white

9.87
#55239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#55239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55239F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55239F#FFFFFF#000000##FFFFFF
##55239F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#404560
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55239f;
/* rgb */ color: rgb(85, 35, 159);
/* oklch */ color: oklch(40.6% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#8c64bc',
    500: '#55239f',
    950: '#000000',
  },
}
SCSS
$custom: #55239f;
$custom-light: #8c64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#55239f",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 264.194,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.18394,
    "h": 295.1
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#55239F
secondary
#99C15D
accent
#E741A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55239F

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

Preview Lab → · Contrast checker → · Palette generator →

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