#55197D#55197D

#55197D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.158 H 307.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#55197D
RGBrgb(85, 25, 125)
HSLhsl(276, 67%, 29%)
HSVhsv(276, 80%, 49%)
CMYKcmyk(32%, 80%, 0%, 51%)
CIE-LABlab(24.02, 44.72, -44.27)
CIE-LCHlch(24.02, 62.92, 315.29°)
OKLaboklab(36.53% 0.096 -0.1258)
OKLCHoklch(36.53% 0.158 307.3)
XYZxyz(7.7948, 4.1073, 19.7802)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55197D #417D19
analogous
#23197D #55197D #7D1973
triadic
#55197D #7D5519 #197D55
tetradic
#55197D #7D2319 #417D19 #19737D
square
#55197D #7D2319 #417D19 #19737D
split-complementary
#55197D #737D19 #197D23
monochromatic
#11051A #320F4A #55197D #7823B0 #9839D7

Accessibility & contrast

On white

11.53
#55197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55197D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55197D#FFFFFF#000000##FFFFFF
##55197D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#4E324B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55197d;
/* rgb */ color: rgb(85, 25, 125);
/* oklch */ color: oklch(36.5% 0.158 307.3);
Tailwind
colors: {
  custom: {
    50: '#895da3',
    500: '#55197d',
    950: '#000000',
  },
}
SCSS
$custom: #55197d;
$custom-light: #895da3;
$custom-dark: #000000;
JSON
{
  "hex": "#55197d",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 276,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36525,
    "c": 0.15827,
    "h": 307.3
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#55197D
secondary
#6EB140
accent
#EA3E83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55197D

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

Preview Lab → · Contrast checker → · Palette generator →

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