#551268#551268

#551268 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.145 H 317.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#551268
RGBrgb(85, 18, 104)
HSLhsl(287, 70%, 24%)
HSVhsv(287, 83%, 41%)
CMYKcmyk(18.3%, 82.7%, 0%, 59.2%)
CIE-LABlab(21.45, 42.66, -34.93)
CIE-LCHlch(21.45, 55.13, 320.69°)
OKLaboklab(34.19% 0.1067 -0.0984)
OKLCHoklch(34.19% 0.145 317.3)
XYZxyz(6.4609, 3.3637, 13.4029)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551268 #256812
analogous
#2A1268 #551268 #681250
triadic
#551268 #685512 #126855
tetradic
#551268 #682A12 #256812 #125068
square
#551268 #682A12 #256812 #125068
split-complementary
#551268 #506812 #12682A
monochromatic
#15051A #2A0934 #551268 #801B9C #AA24D0

Accessibility & contrast

On white

12.56
#551268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#551268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551268
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551268#FFFFFF#000000##FFFFFF
##5512681.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#143566
Tritanopia (blue-blind)
#54263D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #551268;
/* rgb */ color: rgb(85, 18, 104);
/* oklch */ color: oklch(34.2% 0.145 317.3);
Tailwind
colors: {
  custom: {
    50: '#885994',
    500: '#551268',
    950: '#000000',
  },
}
SCSS
$custom: #551268;
$custom-light: #885994;
$custom-dark: #000000;
JSON
{
  "hex": "#551268",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 286.744,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34187,
    "c": 0.14516,
    "h": 317.3
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#551268
secondary
#4DA036
accent
#ED3B62
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #551268

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

Preview Lab → · Contrast checker → · Palette generator →

#551268 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva