#551E97#551E97

#551E97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.180 H 297.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#551E97
RGBrgb(85, 30, 151)
HSLhsl(267, 67%, 35%)
HSVhsv(267, 80%, 59%)
CMYKcmyk(43.7%, 80.1%, 0%, 40.8%)
CIE-LABlab(27.00, 49.07, -55.62)
CIE-LCHlch(27.00, 74.17, 311.42°)
OKLaboklab(39.31% 0.0845 -0.1592)
OKLCHoklch(39.31% 0.18 297.9)
XYZxyz(9.7950, 5.0940, 29.7393)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551E97 #60971E
analogous
#1E2397 #551E97 #911E97
triadic
#551E97 #97551E #1E9755
tetradic
#551E97 #971E23 #60971E #1E9791
square
#551E97 #971E23 #60971E #1E9791
split-complementary
#551E97 #97911E #23971E
monochromatic
#1C0A31 #381464 #551E97 #7228CA #9153DD

Accessibility & contrast

On white

10.40
#551E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#551E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551E97
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551E97#FFFFFF#000000##FFFFFF
##551E971.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#44405B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #551e97;
/* rgb */ color: rgb(85, 30, 151);
/* oklch */ color: oklch(39.3% 0.180 297.9);
Tailwind
colors: {
  custom: {
    50: '#8c61b7',
    500: '#551e97',
    950: '#000000',
  },
}
SCSS
$custom: #551e97;
$custom-light: #8c61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#551e97",
  "rgb": {
    "r": 85,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 267.273,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39309,
    "c": 0.18027,
    "h": 297.9
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#551E97
secondary
#8DC051
accent
#EA3E9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #551E97

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

Preview Lab → · Contrast checker → · Palette generator →

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