#551F71#551F71

#551F71 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.138 H 311.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#551F71
RGBrgb(85, 31, 113)
HSLhsl(280, 57%, 28%)
HSVhsv(280, 73%, 44%)
CMYKcmyk(24.8%, 72.6%, 0%, 55.7%)
CIE-LABlab(24.01, 39.26, -36.62)
CIE-LCHlch(24.01, 53.69, 316.99°)
OKLaboklab(36.22% 0.0919 -0.1034)
OKLCHoklch(36.22% 0.138 311.6)
XYZxyz(7.2164, 4.1037, 16.0315)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F71 #3B711F
analogous
#2C1F71 #551F71 #711F64
triadic
#551F71 #71551F #1F7155
tetradic
#551F71 #712C1F #3B711F #1F6471
square
#551F71 #712C1F #3B711F #1F6471
split-complementary
#551F71 #64711F #1F712C
monochromatic
#120718 #311241 #551F71 #792CA1 #9B40CB

Accessibility & contrast

On white

11.53
#551F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#551F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F71
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F71#FFFFFF#000000##FFFFFF
##551F711.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#153A6F
Tritanopia (blue-blind)
#523045
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #551f71;
/* rgb */ color: rgb(85, 31, 113);
/* oklch */ color: oklch(36.2% 0.138 311.6);
Tailwind
colors: {
  custom: {
    50: '#88609a',
    500: '#551f71',
    950: '#000000',
  },
}
SCSS
$custom: #551f71;
$custom-light: #88609a;
$custom-dark: #000000;
JSON
{
  "hex": "#551f71",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 279.512,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36221,
    "c": 0.13837,
    "h": 311.6
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#551F71
secondary
#67A547
accent
#E0487C
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #551F71

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

Preview Lab → · Contrast checker → · Palette generator →

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