#551F95#551F95

#551F95 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.177 H 298.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#551F95
RGBrgb(85, 31, 149)
HSLhsl(267, 66%, 35%)
HSVhsv(267, 79%, 58%)
CMYKcmyk(43%, 79.2%, 0%, 41.6%)
CIE-LABlab(26.96, 48.14, -54.45)
CIE-LCHlch(26.96, 72.68, 311.48°)
OKLaboklab(39.23% 0.0843 -0.1558)
OKLCHoklch(39.23% 0.177 298.4)
XYZxyz(9.6597, 5.0810, 28.8998)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F95 #5F951F
analogous
#1F2495 #551F95 #901F95
triadic
#551F95 #95551F #1F9555
tetradic
#551F95 #951F24 #5F951F #1F9590
square
#551F95 #951F24 #5F951F #1F9590
split-complementary
#551F95 #95901F #24951F
monochromatic
#1B0A30 #381462 #551F95 #722AC8 #9153DB

Accessibility & contrast

On white

10.42
#551F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551F95
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F95#FFFFFF#000000##FFFFFF
##551F951.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#453F5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #551f95;
/* rgb */ color: rgb(85, 31, 149);
/* oklch */ color: oklch(39.2% 0.177 298.4);
Tailwind
colors: {
  custom: {
    50: '#8c61b5',
    500: '#551f95',
    950: '#000000',
  },
}
SCSS
$custom: #551f95;
$custom-light: #8c61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#551f95",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 267.458,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39228,
    "c": 0.17715,
    "h": 298.4
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#551F95
secondary
#8DBF51
accent
#E93F9B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #551F95

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

Preview Lab → · Contrast checker → · Palette generator →

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