#51377A#51377A

#51377A is a dark, moderate violet. Relative luminance 0.059; OKLCH L 40.0% C 0.111 H 299.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#51377A
RGBrgb(81, 55, 122)
HSLhsl(263, 38%, 35%)
HSVhsv(263, 55%, 48%)
CMYKcmyk(33.6%, 54.9%, 0%, 52.2%)
CIE-LABlab(29.13, 27.07, -34.17)
CIE-LCHlch(29.13, 43.60, 308.38°)
OKLaboklab(40.03% 0.0541 -0.0965)
OKLCHoklch(40.03% 0.111 299.3)
XYZxyz(8.2715, 5.8868, 19.1091)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51377A #607A37
analogous
#373E7A #51377A #73377A
triadic
#51377A #7A5137 #377A51
tetradic
#51377A #7A373E #607A37 #377A73
square
#51377A #7A373E #607A37 #377A73
split-complementary
#51377A #7A7337 #3E7A37
monochromatic
#191126 #352450 #51377A #6D4AA4 #8D6EBE

Accessibility & contrast

On white

9.64
#51377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#51377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51377A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51377A#FFFFFF#000000##FFFFFF
##51377A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#484453
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #51377a;
/* rgb */ color: rgb(81, 55, 122);
/* oklch */ color: oklch(40.0% 0.111 299.3);
Tailwind
colors: {
  custom: {
    50: '#846ea1',
    500: '#51377a',
    950: '#000000',
  },
}
SCSS
$custom: #51377a;
$custom-light: #846ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#51377a",
  "rgb": {
    "r": 81,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 263.284,
    "s": 37.853,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.11062,
    "h": 299.3
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#51377A
secondary
#8EA666
accent
#CE5AA1
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #51377A

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

Preview Lab → · Contrast checker → · Palette generator →

#51377A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva