#551D97#551D97

#551D97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.181 H 298.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#551D97
RGBrgb(85, 29, 151)
HSLhsl(268, 68%, 35%)
HSVhsv(268, 81%, 59%)
CMYKcmyk(43.7%, 80.8%, 0%, 40.8%)
CIE-LABlab(26.86, 49.48, -55.85)
CIE-LCHlch(26.86, 74.62, 311.54°)
OKLaboklab(39.21% 0.0853 -0.1599)
OKLCHoklch(39.21% 0.181 298.1)
XYZxyz(9.7701, 5.0442, 29.7310)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551D97 #5F971D
analogous
#1D2297 #551D97 #921D97
triadic
#551D97 #97551D #1D9755
tetradic
#551D97 #971D22 #5F971D #1D9792
square
#551D97 #971D22 #5F971D #1D9792
split-complementary
#551D97 #97921D #22971D
monochromatic
#1B0930 #381364 #551D97 #7227CA #9151DE

Accessibility & contrast

On white

10.45
#551D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#551D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551D97
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551D97#FFFFFF#000000##FFFFFF
##551D971.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#443F5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #551d97;
/* rgb */ color: rgb(85, 29, 151);
/* oklch */ color: oklch(39.2% 0.181 298.1);
Tailwind
colors: {
  custom: {
    50: '#8c61b7',
    500: '#551d97',
    950: '#000000',
  },
}
SCSS
$custom: #551d97;
$custom-light: #8c61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#551d97",
  "rgb": {
    "r": 85,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 267.541,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.18123,
    "h": 298.1
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#551D97
secondary
#8DC04F
accent
#EB3D9B
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #551D97

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

Preview Lab → · Contrast checker → · Palette generator →

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