#551A7F#551A7F

#551A7F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.159 H 306.4°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#551A7F
RGBrgb(85, 26, 127)
HSLhsl(275, 66%, 30%)
HSVhsv(275, 80%, 50%)
CMYKcmyk(33.1%, 79.5%, 0%, 50.2%)
CIE-LABlab(24.33, 44.79, -45.03)
CIE-LCHlch(24.33, 63.51, 314.84°)
OKLaboklab(36.79% 0.0946 -0.1281)
OKLCHoklch(36.79% 0.159 306.4)
XYZxyz(7.9456, 4.2025, 20.4671)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551A7F #447F1A
analogous
#231A7F #551A7F #7F1A76
triadic
#551A7F #7F551A #1A7F55
tetradic
#551A7F #7F231A #447F1A #1A767F
square
#551A7F #7F231A #447F1A #1A767F
split-complementary
#551A7F #767F1A #1A7F23
monochromatic
#110519 #33104C #551A7F #7724B2 #973CD7

Accessibility & contrast

On white

11.41
#551A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#551A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551A7F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551A7F#FFFFFF#000000##FFFFFF
##551A7F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#4E344C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #551a7f;
/* rgb */ color: rgb(85, 26, 127);
/* oklch */ color: oklch(36.8% 0.159 306.4);
Tailwind
colors: {
  custom: {
    50: '#895ea5',
    500: '#551a7f',
    950: '#000000',
  },
}
SCSS
$custom: #551a7f;
$custom-light: #895ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#551a7f",
  "rgb": {
    "r": 85,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 275.05,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.36792,
    "c": 0.15925,
    "h": 306.4
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#551A7F
secondary
#71B342
accent
#E93F86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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