#551A97#551A97

#551A97 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.184 H 298.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#551A97
RGBrgb(85, 26, 151)
HSLhsl(268, 71%, 35%)
HSVhsv(268, 83%, 59%)
CMYKcmyk(43.7%, 82.8%, 0%, 40.8%)
CIE-LABlab(26.46, 50.64, -56.51)
CIE-LCHlch(26.46, 75.88, 311.86°)
OKLaboklab(38.93% 0.0875 -0.1618)
OKLCHoklch(38.93% 0.184 298.4)
XYZxyz(9.7002, 4.9043, 29.7077)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551A97 #5C971A
analogous
#1A1E97 #551A97 #941A97
triadic
#551A97 #97551A #1A9755
tetradic
#551A97 #971A1E #5C971A #1A9794
square
#551A97 #971A1E #5C971A #1A9794
split-complementary
#551A97 #97941A #1E971A
monochromatic
#1A082F #381163 #551A97 #7223CB #924BE0

Accessibility & contrast

On white

10.60
#551A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#551A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551A97
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551A97#FFFFFF#000000##FFFFFF
##551A971.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#443E5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #551a97;
/* rgb */ color: rgb(85, 26, 151);
/* oklch */ color: oklch(38.9% 0.184 298.4);
Tailwind
colors: {
  custom: {
    50: '#8c5fb7',
    500: '#551a97',
    950: '#000000',
  },
}
SCSS
$custom: #551a97;
$custom-light: #8c5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#551a97",
  "rgb": {
    "r": 85,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 268.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38934,
    "c": 0.18395,
    "h": 298.4
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#551A97
secondary
#8AC24B
accent
#ED3A99
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #551A97

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

Preview Lab → · Contrast checker → · Palette generator →

#551A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva