#551F94#551F94

#551F94 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.176 H 298.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#551F94
RGBrgb(85, 31, 148)
HSLhsl(268, 65%, 35%)
HSVhsv(268, 79%, 58%)
CMYKcmyk(42.6%, 79.1%, 0%, 42%)
CIE-LABlab(26.87, 47.89, -53.99)
CIE-LCHlch(26.87, 72.17, 311.57°)
OKLaboklab(39.14% 0.0846 -0.1544)
OKLCHoklch(39.14% 0.176 298.7)
XYZxyz(9.5802, 5.0492, 28.4811)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F94 #5E941F
analogous
#1F2494 #551F94 #8F1F94
triadic
#551F94 #94551F #1F9455
tetradic
#551F94 #941F24 #5E941F #1F948F
square
#551F94 #941F24 #5E941F #1F948F
split-complementary
#551F94 #948F1F #24941F
monochromatic
#1B0A2F #381461 #551F94 #722AC7 #9153DB

Accessibility & contrast

On white

10.45
#551F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#551F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F94
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F94#FFFFFF#000000##FFFFFF
##551F941.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#453F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #551f94;
/* rgb */ color: rgb(85, 31, 148);
/* oklch */ color: oklch(39.1% 0.176 298.7);
Tailwind
colors: {
  custom: {
    50: '#8b61b4',
    500: '#551f94',
    950: '#000000',
  },
}
SCSS
$custom: #551f94;
$custom-light: #8b61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#551f94",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 267.692,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.17608,
    "h": 298.7
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#551F94
secondary
#8CBE51
accent
#E83F9A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #551F94

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

Preview Lab → · Contrast checker → · Palette generator →

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