#551F89#551F89

#551F89 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.164 H 302.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#551F89
RGBrgb(85, 31, 137)
HSLhsl(271, 63%, 33%)
HSVhsv(271, 77%, 54%)
CMYKcmyk(38%, 77.4%, 0%, 46.3%)
CIE-LABlab(25.91, 45.11, -48.73)
CIE-LCHlch(25.91, 66.41, 312.79°)
OKLaboklab(38.17% 0.0875 -0.139)
OKLCHoklch(38.17% 0.164 302.2)
XYZxyz(8.7506, 4.7174, 24.1116)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F89 #53891F
analogous
#201F89 #551F89 #891F88
triadic
#551F89 #89551F #1F8955
tetradic
#551F89 #89201F #53891F #1F8889
square
#551F89 #89201F #53891F #1F8889
split-complementary
#551F89 #88891F #1F8920
monochromatic
#170825 #361457 #551F89 #742ABB #934CD6

Accessibility & contrast

On white

10.81
#551F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#551F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F89
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F89#FFFFFF#000000##FFFFFF
##551F891.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#4A3A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551f89;
/* rgb */ color: rgb(85, 31, 137);
/* oklch */ color: oklch(38.2% 0.164 302.2);
Tailwind
colors: {
  custom: {
    50: '#8a61ac',
    500: '#551f89',
    950: '#000000',
  },
}
SCSS
$custom: #551f89;
$custom-light: #8a61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#551f89",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 270.566,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38167,
    "c": 0.16427,
    "h": 302.2
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#551F89
secondary
#81B94B
accent
#E64292
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F89

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

Preview Lab → · Contrast checker → · Palette generator →

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