#51134C#51134C

#51134C is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.7% C 0.116 H 331.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#51134C
RGBrgb(81, 19, 76)
HSLhsl(305, 62%, 20%)
HSVhsv(305, 77%, 32%)
CMYKcmyk(0%, 76.5%, 6.2%, 68.2%)
CIE-LABlab(18.96, 35.79, -20.24)
CIE-LCHlch(18.96, 41.12, 330.51°)
OKLaboklab(31.67% 0.1022 -0.0557)
OKLCHoklch(31.67% 0.116 331.4)
XYZxyz(4.9307, 2.7373, 7.1047)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51134C #135118
analogous
#371351 #51134C #51132D
triadic
#51134C #4C5113 #134C51
tetradic
#51134C #513713 #135118 #132D51
square
#51134C #513713 #135118 #132D51
split-complementary
#51134C #2D5113 #135137
monochromatic
#190617 #1F071D #51134C #831F7B #B42AA9

Accessibility & contrast

On white

13.57
#51134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#51134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51134C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51134C#FFFFFF#000000##FFFFFF
##51134C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E294E
Deuteranopia (green-blind)
#26314A
Tritanopia (blue-blind)
#551A2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51134c;
/* rgb */ color: rgb(81, 19, 76);
/* oklch */ color: oklch(31.7% 0.116 331.4);
Tailwind
colors: {
  custom: {
    50: '#84587e',
    500: '#51134c',
    950: '#000000',
  },
}
SCSS
$custom: #51134c;
$custom-light: #84587e;
$custom-dark: #000000;
JSON
{
  "hex": "#51134c",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 304.839,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31668,
    "c": 0.11642,
    "h": 331.4
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#51134C
secondary
#368A3D
accent
#E55043
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51134C

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

Preview Lab → · Contrast checker → · Palette generator →

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