#551F7E#551F7E

#551F7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.152 H 306.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#551F7E
RGBrgb(85, 31, 126)
HSLhsl(274, 61%, 31%)
HSVhsv(274, 75%, 49%)
CMYKcmyk(32.5%, 75.4%, 0%, 50.6%)
CIE-LABlab(25.01, 42.38, -43.30)
CIE-LCHlch(25.01, 60.59, 314.39°)
OKLaboklab(37.24% 0.0899 -0.1231)
OKLCHoklch(37.24% 0.152 306.1)
XYZxyz(8.0014, 4.4177, 20.1658)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F7E #487E1F
analogous
#251F7E #551F7E #7E1F77
triadic
#551F7E #7E551F #1F7E55
tetradic
#551F7E #7E251F #487E1F #1F777E
square
#551F7E #7E251F #487E1F #1F777E
split-complementary
#551F7E #777E1F #1F7E25
monochromatic
#13071C #34134D #551F7E #762BAF #9546D1

Accessibility & contrast

On white

11.15
#551F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#551F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F7E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F7E#FFFFFF#000000##FFFFFF
##551F7E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#4E364D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551f7e;
/* rgb */ color: rgb(85, 31, 126);
/* oklch */ color: oklch(37.2% 0.152 306.1);
Tailwind
colors: {
  custom: {
    50: '#8960a4',
    500: '#551f7e',
    950: '#000000',
  },
}
SCSS
$custom: #551f7e;
$custom-light: #8960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#551f7e",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 274.105,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37244,
    "c": 0.1524,
    "h": 306.1
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#551F7E
secondary
#75B148
accent
#E44489
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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