#51114F#51114F

#51114F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.122 H 329.3°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#51114F
RGBrgb(81, 17, 79)
HSLhsl(302, 65%, 19%)
HSVhsv(302, 79%, 32%)
CMYKcmyk(0%, 79%, 2.5%, 68.2%)
CIE-LABlab(18.86, 37.13, -22.44)
CIE-LCHlch(18.86, 43.38, 328.86°)
OKLaboklab(31.66% 0.1046 -0.062)
OKLCHoklch(31.66% 0.122 329.3)
XYZxyz(5.0050, 2.7151, 7.6561)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51114F #115113
analogous
#331151 #51114F #51112F
triadic
#51114F #4F5111 #114F51
tetradic
#51114F #513311 #115113 #112F51
square
#51114F #513311 #115113 #112F51
split-complementary
#51114F #2F5111 #115133
monochromatic
#190519 #1E061E #51114F #841C80 #B626B2

Accessibility & contrast

On white

13.61
#51114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51114F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51114F#FFFFFF#000000##FFFFFF
##51114F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082851
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#541A2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51114f;
/* rgb */ color: rgb(81, 17, 79);
/* oklch */ color: oklch(31.7% 0.122 329.3);
Tailwind
colors: {
  custom: {
    50: '#845780',
    500: '#51114f',
    950: '#000000',
  },
}
SCSS
$custom: #51114f;
$custom-light: #845780;
$custom-dark: #000000;
JSON
{
  "hex": "#51114f",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 301.875,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31659,
    "c": 0.12162,
    "h": 329.3
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#51114F
secondary
#348A36
accent
#E84540
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51114F

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

Preview Lab → · Contrast checker → · Palette generator →

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