#551A7B#551A7B

#551A7B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.155 H 308.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#551A7B
RGBrgb(85, 26, 123)
HSLhsl(276, 65%, 29%)
HSVhsv(276, 79%, 48%)
CMYKcmyk(30.9%, 78.9%, 0%, 51.8%)
CIE-LABlab(24.00, 43.84, -43.03)
CIE-LCHlch(24.00, 61.43, 315.53°)
OKLaboklab(36.46% 0.0955 -0.1222)
OKLCHoklch(36.46% 0.155 308)
XYZxyz(7.6901, 4.1003, 19.1214)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551A7B #407B1A
analogous
#251A7B #551A7B #7B1A71
triadic
#551A7B #7B551A #1A7B55
tetradic
#551A7B #7B251A #407B1A #1A717B
square
#551A7B #7B251A #407B1A #1A717B
split-complementary
#551A7B #717B1A #1A7B25
monochromatic
#110519 #320F48 #551A7B #7825AE #993AD5

Accessibility & contrast

On white

11.54
#551A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551A7B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551A7B#FFFFFF#000000##FFFFFF
##551A7B1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#4F324A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #551a7b;
/* rgb */ color: rgb(85, 26, 123);
/* oklch */ color: oklch(36.5% 0.155 308.0);
Tailwind
colors: {
  custom: {
    50: '#895ea2',
    500: '#551a7b',
    950: '#000000',
  },
}
SCSS
$custom: #551a7b;
$custom-light: #895ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#551a7b",
  "rgb": {
    "r": 85,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 276.495,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36457,
    "c": 0.15513,
    "h": 308
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#551A7B
secondary
#6DAF42
accent
#E84082
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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