#51114E#51114E

#51114E is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.121 H 330.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#51114E
RGBrgb(81, 17, 78)
HSLhsl(303, 65%, 19%)
HSVhsv(303, 79%, 32%)
CMYKcmyk(0%, 79%, 3.7%, 68.2%)
CIE-LABlab(18.80, 36.95, -21.85)
CIE-LCHlch(18.80, 42.92, 329.39°)
OKLaboklab(31.6% 0.1046 -0.0603)
OKLCHoklch(31.6% 0.121 330)
XYZxyz(4.9689, 2.7007, 7.4658)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51114E #115114
analogous
#341151 #51114E #51112E
triadic
#51114E #4E5111 #114E51
tetradic
#51114E #513411 #115114 #112E51
square
#51114E #513411 #115114 #112E51
split-complementary
#51114E #2E5111 #115134
monochromatic
#190518 #1E061D #51114E #841C7F #B626AF

Accessibility & contrast

On white

13.64
#51114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#51114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51114E
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51114E#FFFFFF#000000##FFFFFF
##51114E1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#24314C
Tritanopia (blue-blind)
#54192E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51114e;
/* rgb */ color: rgb(81, 17, 78);
/* oklch */ color: oklch(31.6% 0.121 330.0);
Tailwind
colors: {
  custom: {
    50: '#845780',
    500: '#51114e',
    950: '#000000',
  },
}
SCSS
$custom: #51114e;
$custom-light: #845780;
$custom-dark: #000000;
JSON
{
  "hex": "#51114e",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 302.813,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31595,
    "c": 0.12075,
    "h": 330
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#51114E
secondary
#348A38
accent
#E84740
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51114E

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

Preview Lab → · Contrast checker → · Palette generator →

#51114E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva