#51134F#51134F

#51134F is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.119 H 329.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#51134F
RGBrgb(81, 19, 79)
HSLhsl(302, 62%, 20%)
HSVhsv(302, 77%, 32%)
CMYKcmyk(0%, 76.5%, 2.5%, 68.2%)
CIE-LABlab(19.14, 36.35, -22.00)
CIE-LCHlch(19.14, 42.49, 328.81°)
OKLaboklab(31.86% 0.1024 -0.0608)
OKLCHoklch(31.86% 0.119 329.3)
XYZxyz(5.0375, 2.7800, 7.6669)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51134F #135115
analogous
#341351 #51134F #511330
triadic
#51134F #4F5113 #134F51
tetradic
#51134F #513413 #135115 #133051
square
#51134F #513413 #135115 #133051
split-complementary
#51134F #305113 #135134
monochromatic
#190618 #1F071F #51134F #831F7F #B42AB0

Accessibility & contrast

On white

13.50
#51134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#51134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51134F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51134F#FFFFFF#000000##FFFFFF
##51134F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2951
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#541B2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51134f;
/* rgb */ color: rgb(81, 19, 79);
/* oklch */ color: oklch(31.9% 0.119 329.3);
Tailwind
colors: {
  custom: {
    50: '#845880',
    500: '#51134f',
    950: '#000000',
  },
}
SCSS
$custom: #51134f;
$custom-light: #845880;
$custom-dark: #000000;
JSON
{
  "hex": "#51134f",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 301.935,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31857,
    "c": 0.11906,
    "h": 329.3
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#51134F
secondary
#368A39
accent
#E54843
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51134F

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

Preview Lab → · Contrast checker → · Palette generator →

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