#55197B#55197B

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

Color values

HEX#55197B
RGBrgb(85, 25, 123)
HSLhsl(277, 66%, 29%)
HSVhsv(277, 80%, 48%)
CMYKcmyk(30.9%, 79.7%, 0%, 51.8%)
CIE-LABlab(23.86, 44.25, -43.26)
CIE-LCHlch(23.86, 61.89, 315.64°)
OKLaboklab(36.36% 0.0964 -0.1229)
OKLCHoklch(36.36% 0.156 308.1)
XYZxyz(7.6683, 4.0567, 19.1141)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55197B #3F7B19
analogous
#24197B #55197B #7B1970
triadic
#55197B #7B5519 #197B55
tetradic
#55197B #7B2419 #3F7B19 #19707B
square
#55197B #7B2419 #3F7B19 #19707B
split-complementary
#55197B #707B19 #197B24
monochromatic
#120519 #320F48 #55197B #7823AE #9938D7

Accessibility & contrast

On white

11.59
#55197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55197B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55197B#FFFFFF#000000##FFFFFF
##55197B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#4F3149
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55197b;
/* rgb */ color: rgb(85, 25, 123);
/* oklch */ color: oklch(36.4% 0.156 308.1);
Tailwind
colors: {
  custom: {
    50: '#895da2',
    500: '#55197b',
    950: '#000000',
  },
}
SCSS
$custom: #55197b;
$custom-light: #895da2;
$custom-dark: #000000;
JSON
{
  "hex": "#55197b",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 276.735,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36357,
    "c": 0.15624,
    "h": 308.1
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#55197B
secondary
#6BAF40
accent
#E93F81
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55197B

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

Preview Lab → · Contrast checker → · Palette generator →

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