#55197E#55197E

#55197E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.159 H 306.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#55197E
RGBrgb(85, 25, 126)
HSLhsl(276, 67%, 30%)
HSVhsv(276, 80%, 49%)
CMYKcmyk(32.5%, 80.2%, 0%, 50.6%)
CIE-LABlab(24.11, 44.96, -44.76)
CIE-LCHlch(24.11, 63.44, 315.12°)
OKLaboklab(36.61% 0.0957 -0.1273)
OKLCHoklch(36.61% 0.159 306.9)
XYZxyz(7.8590, 4.1330, 20.1183)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55197E #427E19
analogous
#23197E #55197E #7E1974
triadic
#55197E #7E5519 #197E55
tetradic
#55197E #7E2319 #427E19 #19747E
square
#55197E #7E2319 #427E19 #19747E
split-complementary
#55197E #747E19 #197E23
monochromatic
#11051A #330F4B #55197E #7723B1 #983AD8

Accessibility & contrast

On white

11.50
#55197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55197E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55197E#FFFFFF#000000##FFFFFF
##55197E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#4E334B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55197e;
/* rgb */ color: rgb(85, 25, 126);
/* oklch */ color: oklch(36.6% 0.159 306.9);
Tailwind
colors: {
  custom: {
    50: '#895da4',
    500: '#55197e',
    950: '#000000',
  },
}
SCSS
$custom: #55197e;
$custom-light: #895da4;
$custom-dark: #000000;
JSON
{
  "hex": "#55197e",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 275.644,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36609,
    "c": 0.15929,
    "h": 306.9
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#55197E
secondary
#6FB241
accent
#EA3E84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55197E

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

Preview Lab → · Contrast checker → · Palette generator →

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