#55319A#55319A

#55319A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.162 H 294.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#55319A
RGBrgb(85, 49, 154)
HSLhsl(261, 52%, 40%)
HSVhsv(261, 68%, 60%)
CMYKcmyk(44.8%, 68.2%, 0%, 39.6%)
CIE-LABlab(30.55, 40.61, -51.67)
CIE-LCHlch(30.55, 65.72, 308.17°)
OKLaboklab(41.9% 0.0659 -0.1478)
OKLCHoklch(41.9% 0.162 294)
XYZxyz(10.6758, 6.4607, 31.2501)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55319A #769A31
analogous
#31429A #55319A #89319A
triadic
#55319A #9A5531 #319A55
tetradic
#55319A #9A3142 #769A31 #319A89
square
#55319A #9A3142 #769A31 #319A89
split-complementary
#55319A #9A8931 #429A31
monochromatic
#22133D #3B226C #55319A #7045C4 #9473D2

Accessibility & contrast

On white

9.16
#55319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#55319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55319A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55319A#FFFFFF#000000##FFFFFF
##55319A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#424A61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #55319a;
/* rgb */ color: rgb(85, 49, 154);
/* oklch */ color: oklch(41.9% 0.162 294.0);
Tailwind
colors: {
  custom: {
    50: '#8b6cb9',
    500: '#55319a',
    950: '#000000',
  },
}
SCSS
$custom: #55319a;
$custom-light: #8b6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#55319a",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 260.571,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.16178,
    "h": 294
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#55319A
secondary
#A0BA6C
accent
#DB4DAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #55319A

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

Preview Lab → · Contrast checker → · Palette generator →

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