#55197F#55197F

#55197F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.160 H 306.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#55197F
RGBrgb(85, 25, 127)
HSLhsl(275, 67%, 30%)
HSVhsv(275, 80%, 50%)
CMYKcmyk(33.1%, 80.3%, 0%, 50.2%)
CIE-LABlab(24.19, 45.19, -45.26)
CIE-LCHlch(24.19, 63.96, 314.96°)
OKLaboklab(36.69% 0.0955 -0.1288)
OKLCHoklch(36.69% 0.16 306.6)
XYZxyz(7.9239, 4.1589, 20.4599)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55197F #437F19
analogous
#22197F #55197F #7F1976
triadic
#55197F #7F5519 #197F55
tetradic
#55197F #7F2219 #437F19 #19767F
square
#55197F #7F2219 #437F19 #19767F
split-complementary
#55197F #767F19 #197F22
monochromatic
#11051A #330F4C #55197F #7723B2 #973AD8

Accessibility & contrast

On white

11.46
#55197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#55197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55197F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55197F#FFFFFF#000000##FFFFFF
##55197F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#4E334C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55197f;
/* rgb */ color: rgb(85, 25, 127);
/* oklch */ color: oklch(36.7% 0.160 306.6);
Tailwind
colors: {
  custom: {
    50: '#8a5da5',
    500: '#55197f',
    950: '#000000',
  },
}
SCSS
$custom: #55197f;
$custom-light: #8a5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#55197f",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 275.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.16031,
    "h": 306.6
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#55197F
secondary
#70B341
accent
#EA3E85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55197F

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

Preview Lab → · Contrast checker → · Palette generator →

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