#551F88#551F88

#551F88 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.163 H 302.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#551F88
RGBrgb(85, 31, 136)
HSLhsl(271, 63%, 33%)
HSVhsv(271, 77%, 53%)
CMYKcmyk(37.5%, 77.2%, 0%, 46.7%)
CIE-LABlab(25.83, 44.86, -48.25)
CIE-LCHlch(25.83, 65.88, 312.91°)
OKLaboklab(38.08% 0.0877 -0.1376)
OKLCHoklch(38.08% 0.163 302.5)
XYZxyz(8.6792, 4.6888, 23.7356)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F88 #52881F
analogous
#201F88 #551F88 #881F86
triadic
#551F88 #88551F #1F8855
tetradic
#551F88 #88201F #52881F #1F8688
square
#551F88 #88201F #52881F #1F8688
split-complementary
#551F88 #86881F #1F8820
monochromatic
#170824 #361456 #551F88 #742ABA #934BD6

Accessibility & contrast

On white

10.84
#551F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551F88
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F88#FFFFFF#000000##FFFFFF
##551F881.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#4A3A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551f88;
/* rgb */ color: rgb(85, 31, 136);
/* oklch */ color: oklch(38.1% 0.163 302.5);
Tailwind
colors: {
  custom: {
    50: '#8a61ac',
    500: '#551f88',
    950: '#000000',
  },
}
SCSS
$custom: #551f88;
$custom-light: #8a61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#551f88",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 270.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.16319,
    "h": 302.5
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#551F88
secondary
#80B94A
accent
#E64292
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F88

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

Preview Lab → · Contrast checker → · Palette generator →

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