#551F97#551F97

#551F97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.179 H 297.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#551F97
RGBrgb(85, 31, 151)
HSLhsl(267, 66%, 36%)
HSVhsv(267, 79%, 59%)
CMYKcmyk(43.7%, 79.5%, 0%, 40.8%)
CIE-LABlab(27.15, 48.65, -55.39)
CIE-LCHlch(27.15, 73.72, 311.30°)
OKLaboklab(39.41% 0.0837 -0.1586)
OKLCHoklch(39.41% 0.179 297.8)
XYZxyz(9.8208, 5.1455, 29.7479)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F97 #61971F
analogous
#1F2597 #551F97 #911F97
triadic
#551F97 #97551F #1F9755
tetradic
#551F97 #971F25 #61971F #1F9791
square
#551F97 #971F25 #61971F #1F9791
split-complementary
#551F97 #97911F #25971F
monochromatic
#1C0A31 #381564 #551F97 #7229CA #9154DC

Accessibility & contrast

On white

10.35
#551F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#551F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F97
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F97#FFFFFF#000000##FFFFFF
##551F971.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#44405B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #551f97;
/* rgb */ color: rgb(85, 31, 151);
/* oklch */ color: oklch(39.4% 0.179 297.8);
Tailwind
colors: {
  custom: {
    50: '#8c61b7',
    500: '#551f97',
    950: '#000000',
  },
}
SCSS
$custom: #551f97;
$custom-light: #8c61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#551f97",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 267,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.17929,
    "h": 297.8
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#551F97
secondary
#8EBF52
accent
#E93F9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #551F97

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

Preview Lab → · Contrast checker → · Palette generator →

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