#55319E#55319E

#55319E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.167 H 293.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#55319E
RGBrgb(85, 49, 158)
HSLhsl(260, 53%, 41%)
HSVhsv(260, 69%, 62%)
CMYKcmyk(46.2%, 69%, 0%, 38%)
CIE-LABlab(30.87, 41.75, -53.58)
CIE-LCHlch(30.87, 67.92, 307.92°)
OKLaboklab(42.23% 0.0653 -0.1534)
OKLCHoklch(42.23% 0.167 293.1)
XYZxyz(11.0145, 6.5962, 33.0340)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55319E #7A9E31
analogous
#31439E #55319E #8C319E
triadic
#55319E #9E5531 #319E55
tetradic
#55319E #9E3143 #7A9E31 #319E8C
square
#55319E #9E3143 #7A9E31 #319E8C
split-complementary
#55319E #9E8C31 #439E31
monochromatic
#231441 #3C236F #55319E #7046C6 #9575D4

Accessibility & contrast

On white

9.05
#55319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#55319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55319E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55319E#FFFFFF#000000##FFFFFF
##55319E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#404C63
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #55319e;
/* rgb */ color: rgb(85, 49, 158);
/* oklch */ color: oklch(42.2% 0.167 293.1);
Tailwind
colors: {
  custom: {
    50: '#8b6cbb',
    500: '#55319e',
    950: '#000000',
  },
}
SCSS
$custom: #55319e;
$custom-light: #8b6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#55319e",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 259.817,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.16667,
    "h": 293.1
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#55319E
secondary
#A3BC6E
accent
#DC4CAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #55319E

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

Preview Lab → · Contrast checker → · Palette generator →

#55319E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva