#55319F#55319F

#55319F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.168 H 292.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#55319F
RGBrgb(85, 49, 159)
HSLhsl(260, 53%, 41%)
HSVhsv(260, 69%, 62%)
CMYKcmyk(46.5%, 69.2%, 0%, 37.6%)
CIE-LABlab(30.95, 42.03, -54.05)
CIE-LCHlch(30.95, 68.47, 307.87°)
OKLaboklab(42.31% 0.0651 -0.1547)
OKLCHoklch(42.31% 0.168 292.8)
XYZxyz(11.1009, 6.6308, 33.4891)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55319F #7B9F31
analogous
#31449F #55319F #8C319F
triadic
#55319F #9F5531 #319F55
tetradic
#55319F #9F3144 #7B9F31 #319F8C
square
#55319F #9F3144 #7B9F31 #319F8C
split-complementary
#55319F #9F8C31 #449F31
monochromatic
#231441 #3C2370 #55319F #7147C6 #9576D5

Accessibility & contrast

On white

9.03
#55319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#55319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55319F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55319F#FFFFFF#000000##FFFFFF
##55319F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#3F4C64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #55319f;
/* rgb */ color: rgb(85, 49, 159);
/* oklch */ color: oklch(42.3% 0.168 292.8);
Tailwind
colors: {
  custom: {
    50: '#8c6cbc',
    500: '#55319f',
    950: '#000000',
  },
}
SCSS
$custom: #55319f;
$custom-light: #8c6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#55319f",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 259.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42314,
    "c": 0.16789,
    "h": 292.8
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#55319F
secondary
#A3BD6F
accent
#DC4CAD
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #55319F

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

Preview Lab → · Contrast checker → · Palette generator →

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