#551FB4#551FB4

#551FB4 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.2% C 0.210 H 290.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#551FB4
RGBrgb(85, 31, 180)
HSLhsl(262, 71%, 41%)
HSVhsv(262, 83%, 71%)
CMYKcmyk(52.8%, 82.8%, 0%, 29.4%)
CIE-LABlab(29.93, 56.12, -68.36)
CIE-LCHlch(29.93, 88.44, 309.39°)
OKLaboklab(42.18% 0.074 -0.1965)
OKLCHoklch(42.18% 0.21 290.6)
XYZxyz(12.4721, 6.2060, 43.7119)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551FB4 #7EB41F
analogous
#1F34B4 #551FB4 #A01FB4
triadic
#551FB4 #B4551F #1FB455
tetradic
#551FB4 #B41F34 #7EB41F #1FB4A0
square
#551FB4 #B41F34 #7EB41F #1FB4A0
split-complementary
#551FB4 #B4A01F #34B41F
monochromatic
#240D4C #3C1680 #551FB4 #7134DC #9668E5

Accessibility & contrast

On white

9.37
#551FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#551FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551FB4
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551FB4#FFFFFF#000000##FFFFFF
##551FB41.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#324C6C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #551fb4;
/* rgb */ color: rgb(85, 31, 180);
/* oklch */ color: oklch(42.2% 0.210 290.6);
Tailwind
colors: {
  custom: {
    50: '#9063cc',
    500: '#551fb4',
    950: '#000000',
  },
}
SCSS
$custom: #551fb4;
$custom-light: #9063cc;
$custom-dark: #000000;
JSON
{
  "hex": "#551fb4",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 261.745,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.21002,
    "h": 290.6
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#551FB4
secondary
#A5CB64
accent
#ED3AAD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #551FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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