#51106F#51106F

#51106F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.152 H 311.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#51106F
RGBrgb(81, 16, 111)
HSLhsl(281, 75%, 25%)
HSVhsv(281, 86%, 44%)
CMYKcmyk(27%, 85.6%, 0%, 56.5%)
CIE-LABlab(21.09, 44.06, -40.10)
CIE-LCHlch(21.09, 59.58, 317.70°)
OKLaboklab(33.97% 0.1013 -0.1137)
OKLCHoklch(33.97% 0.152 311.7)
XYZxyz(6.4473, 3.2678, 15.3270)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51106F #2E6F10
analogous
#22106F #51106F #6F105D
triadic
#51106F #6F5110 #106F51
tetradic
#51106F #6F2210 #2E6F10 #105D6F
square
#51106F #6F2210 #2E6F10 #105D6F
split-complementary
#51106F #5D6F10 #106F22
monochromatic
#14041B #2A083A #51106F #7818A4 #9F1FDA

Accessibility & contrast

On white

12.70
#51106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#51106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51106F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51106F#FFFFFF#000000##FFFFFF
##51106F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#4D2941
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51106f;
/* rgb */ color: rgb(81, 16, 111);
/* oklch */ color: oklch(34.0% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#865899',
    500: '#51106f',
    950: '#000000',
  },
}
SCSS
$custom: #51106f;
$custom-light: #865899;
$custom-dark: #000000;
JSON
{
  "hex": "#51106f",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 281.053,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33974,
    "c": 0.15228,
    "h": 311.7
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#51106F
secondary
#58A734
accent
#F13671
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #51106F

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

Preview Lab → · Contrast checker → · Palette generator →

#51106F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva