#551262#551262

#551262 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.140 H 320.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#551262
RGBrgb(85, 18, 98)
HSLhsl(290, 69%, 23%)
HSVhsv(290, 82%, 38%)
CMYKcmyk(13.3%, 81.6%, 0%, 61.6%)
CIE-LABlab(21.00, 41.42, -31.70)
CIE-LCHlch(21.00, 52.16, 322.57°)
OKLaboklab(33.74% 0.1076 -0.0889)
OKLCHoklch(33.74% 0.14 320.4)
XYZxyz(6.1670, 3.2461, 11.8546)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551262 #1F6212
analogous
#2D1262 #551262 #621247
triadic
#551262 #625512 #126255
tetradic
#551262 #622D12 #1F6212 #124762
square
#551262 #622D12 #1F6212 #124762
split-complementary
#551262 #476212 #12622D
monochromatic
#16051A #28092E #551262 #821B96 #AF25C9

Accessibility & contrast

On white

12.73
#551262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#551262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551262
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551262#FFFFFF#000000##FFFFFF
##5512621.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E64
Deuteranopia (green-blind)
#1B3560
Tritanopia (blue-blind)
#55233A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #551262;
/* rgb */ color: rgb(85, 18, 98);
/* oklch */ color: oklch(33.7% 0.140 320.4);
Tailwind
colors: {
  custom: {
    50: '#88598f',
    500: '#551262',
    950: '#000000',
  },
}
SCSS
$custom: #551262;
$custom-light: #88598f;
$custom-dark: #000000;
JSON
{
  "hex": "#551262",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 290.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33735,
    "c": 0.1396,
    "h": 320.4
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#551262
secondary
#469A36
accent
#EC3C59
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #551262

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

Preview Lab → · Contrast checker → · Palette generator →

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