#551F8D#551F8D

#551F8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.169 H 300.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#551F8D
RGBrgb(85, 31, 141)
HSLhsl(269, 64%, 34%)
HSVhsv(269, 78%, 55%)
CMYKcmyk(39.7%, 78%, 0%, 44.7%)
CIE-LABlab(26.26, 46.11, -50.66)
CIE-LCHlch(26.26, 68.51, 312.31°)
OKLaboklab(38.52% 0.0865 -0.1447)
OKLCHoklch(38.52% 0.169 300.9)
XYZxyz(9.0428, 4.8343, 25.6508)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F8D #578D1F
analogous
#1F208D #551F8D #8C1F8D
triadic
#551F8D #8D551F #1F8D55
tetradic
#551F8D #8D1F20 #578D1F #1F8D8C
square
#551F8D #8D1F20 #578D1F #1F8D8C
split-complementary
#551F8D #8D8C1F #208D1F
monochromatic
#190929 #37145B #551F8D #732ABF #924ED8

Accessibility & contrast

On white

10.68
#551F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#551F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F8D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F8D#FFFFFF#000000##FFFFFF
##551F8D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#483C55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #551f8d;
/* rgb */ color: rgb(85, 31, 141);
/* oklch */ color: oklch(38.5% 0.169 300.9);
Tailwind
colors: {
  custom: {
    50: '#8b61af',
    500: '#551f8d',
    950: '#000000',
  },
}
SCSS
$custom: #551f8d;
$custom-light: #8b61af;
$custom-dark: #000000;
JSON
{
  "hex": "#551f8d",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 269.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.16857,
    "h": 300.9
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#551F8D
secondary
#85BB4D
accent
#E74195
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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