#55197A#55197A

#55197A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.155 H 308.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#55197A
RGBrgb(85, 25, 122)
HSLhsl(277, 66%, 29%)
HSVhsv(277, 80%, 48%)
CMYKcmyk(30.3%, 79.5%, 0%, 52.2%)
CIE-LABlab(23.78, 44.02, -42.76)
CIE-LCHlch(23.78, 61.37, 315.83°)
OKLaboklab(36.27% 0.0967 -0.1214)
OKLCHoklch(36.27% 0.155 308.5)
XYZxyz(7.6061, 4.0318, 18.7861)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55197A #3E7A19
analogous
#25197A #55197A #7A196F
triadic
#55197A #7A5519 #197A55
tetradic
#55197A #7A2519 #3E7A19 #196F7A
square
#55197A #7A2519 #3E7A19 #196F7A
split-complementary
#55197A #6F7A19 #197A25
monochromatic
#120519 #320F47 #55197A #7823AD #9A37D6

Accessibility & contrast

On white

11.63
#55197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#55197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55197A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55197A#FFFFFF#000000##FFFFFF
##55197A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#4F3149
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55197a;
/* rgb */ color: rgb(85, 25, 122);
/* oklch */ color: oklch(36.3% 0.155 308.5);
Tailwind
colors: {
  custom: {
    50: '#895da1',
    500: '#55197a',
    950: '#000000',
  },
}
SCSS
$custom: #55197a;
$custom-light: #895da1;
$custom-dark: #000000;
JSON
{
  "hex": "#55197a",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 277.113,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36274,
    "c": 0.15522,
    "h": 308.5
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#55197A
secondary
#6AAF40
accent
#E93F80
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55197A

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

Preview Lab → · Contrast checker → · Palette generator →

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