#51376E#51376E

#51376E is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.094 H 304.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#51376E
RGBrgb(81, 55, 110)
HSLhsl(268, 33%, 32%)
HSVhsv(268, 50%, 43%)
CMYKcmyk(26.4%, 50%, 0%, 56.9%)
CIE-LABlab(28.40, 23.78, -27.73)
CIE-LCHlch(28.40, 36.52, 310.62°)
OKLaboklab(39.25% 0.0528 -0.0776)
OKLCHoklch(39.25% 0.094 304.2)
XYZxyz(7.5734, 5.6075, 15.4322)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51376E #546E37
analogous
#37396E #51376E #6D376E
triadic
#51376E #6E5137 #376E51
tetradic
#51376E #6E3739 #546E37 #376E6D
square
#51376E #6E3739 #546E37 #376E6D
split-complementary
#51376E #6E6D37 #396E37
monochromatic
#150E1C #332345 #51376E #6F4B97 #8E6BB5

Accessibility & contrast

On white

9.90
#51376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51376E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51376E#FFFFFF#000000##FFFFFF
##51376E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284270
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#4C414D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #51376e;
/* rgb */ color: rgb(81, 55, 110);
/* oklch */ color: oklch(39.3% 0.094 304.2);
Tailwind
colors: {
  custom: {
    50: '#836e98',
    500: '#51376e',
    950: '#000000',
  },
}
SCSS
$custom: #51376e;
$custom-light: #836e98;
$custom-dark: #000000;
JSON
{
  "hex": "#51376e",
  "rgb": {
    "r": 81,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 268.364,
    "s": 33.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39252,
    "c": 0.09392,
    "h": 304.2
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#51376E
secondary
#829E63
accent
#C95E97
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #51376E

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

Preview Lab → · Contrast checker → · Palette generator →

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