#51376D#51376D

#51376D is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.2% C 0.093 H 304.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#51376D
RGBrgb(81, 55, 109)
HSLhsl(269, 33%, 32%)
HSVhsv(269, 50%, 43%)
CMYKcmyk(25.7%, 49.5%, 0%, 57.3%)
CIE-LABlab(28.34, 23.51, -27.18)
CIE-LCHlch(28.34, 35.94, 310.86°)
OKLaboklab(39.19% 0.0527 -0.0761)
OKLCHoklch(39.19% 0.093 304.7)
XYZxyz(7.5193, 5.5859, 15.1471)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51376D #536D37
analogous
#37386D #51376D #6C376D
triadic
#51376D #6D5137 #376D51
tetradic
#51376D #6D3738 #536D37 #376D6C
square
#51376D #6D3738 #536D37 #376D6C
split-complementary
#51376D #6D6C37 #386D37
monochromatic
#150E1C #332244 #51376D #6F4C96 #8E6AB4

Accessibility & contrast

On white

9.92
#51376D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#51376D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51376D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51376D#FFFFFF#000000##FFFFFF
##51376D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28426F
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#4C404D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #51376d;
/* rgb */ color: rgb(81, 55, 109);
/* oklch */ color: oklch(39.2% 0.093 304.7);
Tailwind
colors: {
  custom: {
    50: '#836e97',
    500: '#51376d',
    950: '#000000',
  },
}
SCSS
$custom: #51376d;
$custom-light: #836e97;
$custom-dark: #000000;
JSON
{
  "hex": "#51376d",
  "rgb": {
    "r": 81,
    "g": 55,
    "b": 109
  },
  "hsl": {
    "h": 268.889,
    "s": 32.927,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.09253,
    "h": 304.7
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#51376D
secondary
#819D63
accent
#C95F96
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #51376D

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

Preview Lab → · Contrast checker → · Palette generator →

#51376D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva