#55197C#55197C

#55197C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.157 H 307.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#55197C
RGBrgb(85, 25, 124)
HSLhsl(276, 66%, 29%)
HSVhsv(276, 80%, 49%)
CMYKcmyk(31.5%, 79.8%, 0%, 51.4%)
CIE-LABlab(23.94, 44.48, -43.77)
CIE-LCHlch(23.94, 62.40, 315.47°)
OKLaboklab(36.44% 0.0962 -0.1244)
OKLCHoklch(36.44% 0.157 307.7)
XYZxyz(7.7313, 4.0819, 19.4455)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55197C #407C19
analogous
#24197C #55197C #7C1972
triadic
#55197C #7C5519 #197C55
tetradic
#55197C #7C2419 #407C19 #19727C
square
#55197C #7C2419 #407C19 #19727C
split-complementary
#55197C #727C19 #197C24
monochromatic
#110519 #320F49 #55197C #7823AF #9938D7

Accessibility & contrast

On white

11.56
#55197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#55197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55197C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55197C#FFFFFF#000000##FFFFFF
##55197C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#4F324A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55197c;
/* rgb */ color: rgb(85, 25, 124);
/* oklch */ color: oklch(36.4% 0.157 307.7);
Tailwind
colors: {
  custom: {
    50: '#895da3',
    500: '#55197c',
    950: '#000000',
  },
}
SCSS
$custom: #55197c;
$custom-light: #895da3;
$custom-dark: #000000;
JSON
{
  "hex": "#55197c",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 276.364,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36441,
    "c": 0.15725,
    "h": 307.7
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#55197C
secondary
#6DB040
accent
#E93E82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55197C

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

Preview Lab → · Contrast checker → · Palette generator →

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