#551D7E#551D7E

#551D7E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.155 H 306.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#551D7E
RGBrgb(85, 29, 126)
HSLhsl(275, 63%, 30%)
HSVhsv(275, 77%, 49%)
CMYKcmyk(32.5%, 77%, 0%, 50.6%)
CIE-LABlab(24.69, 43.28, -43.81)
CIE-LCHlch(24.69, 61.58, 314.65°)
OKLaboklab(37.02% 0.0919 -0.1245)
OKLCHoklch(37.02% 0.155 306.4)
XYZxyz(7.9508, 4.3165, 20.1489)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551D7E #467E1D
analogous
#241D7E #551D7E #7E1D76
triadic
#551D7E #7E551D #1D7E55
tetradic
#551D7E #7E241D #467E1D #1D767E
square
#551D7E #7E241D #467E1D #1D767E
split-complementary
#551D7E #767E1D #1D7E24
monochromatic
#12061B #33124C #551D7E #7728B0 #9642D3

Accessibility & contrast

On white

11.27
#551D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#551D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551D7E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551D7E#FFFFFF#000000##FFFFFF
##551D7E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#4E354C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551d7e;
/* rgb */ color: rgb(85, 29, 126);
/* oklch */ color: oklch(37.0% 0.155 306.4);
Tailwind
colors: {
  custom: {
    50: '#895fa4',
    500: '#551d7e',
    950: '#000000',
  },
}
SCSS
$custom: #551d7e;
$custom-light: #895fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#551d7e",
  "rgb": {
    "r": 85,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 274.639,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3702,
    "c": 0.15481,
    "h": 306.4
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#551D7E
secondary
#73B145
accent
#E64287
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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