#551A8F#551A8F

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

Color values

HEX#551A8F
RGBrgb(85, 26, 143)
HSLhsl(270, 69%, 33%)
HSVhsv(270, 82%, 56%)
CMYKcmyk(40.6%, 81.8%, 0%, 43.9%)
CIE-LABlab(25.72, 48.67, -52.78)
CIE-LCHlch(25.72, 71.79, 312.68°)
OKLaboklab(38.2% 0.0901 -0.1509)
OKLCHoklch(38.2% 0.176 300.8)
XYZxyz(9.0724, 4.6532, 26.4015)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551A8F #548F1A
analogous
#1A1A8F #551A8F #8F1A8E
triadic
#551A8F #8F551A #1A8F55
tetradic
#551A8F #8F1A1A #548F1A #1A8E8F
square
#551A8F #8F1A1A #548F1A #1A8E8F
split-complementary
#551A8F #8E8F1A #1A8F1A
monochromatic
#170727 #36115B #551A8F #7423C3 #9246DD

Accessibility & contrast

On white

10.88
#551A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#551A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551A8F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551A8F#FFFFFF#000000##FFFFFF
##551A8F1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#483B55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551a8f;
/* rgb */ color: rgb(85, 26, 143);
/* oklch */ color: oklch(38.2% 0.176 300.8);
Tailwind
colors: {
  custom: {
    50: '#8b5fb1',
    500: '#551a8f',
    950: '#000000',
  },
}
SCSS
$custom: #551a8f;
$custom-light: #8b5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#551a8f",
  "rgb": {
    "r": 85,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 270.256,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38196,
    "c": 0.17573,
    "h": 300.8
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#551A8F
secondary
#82BF46
accent
#EC3C93
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #551A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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