#51437E#51437E

#51437E is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.6% C 0.096 H 292.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#51437E
RGBrgb(81, 67, 126)
HSLhsl(254, 31%, 38%)
HSVhsv(254, 47%, 49%)
CMYKcmyk(35.7%, 46.8%, 0%, 50.6%)
CIE-LABlab(32.41, 20.61, -31.45)
CIE-LCHlch(32.41, 37.60, 303.24°)
OKLaboklab(42.56% 0.0372 -0.0885)
OKLCHoklch(42.56% 0.096 292.8)
XYZxyz(9.1654, 7.2698, 20.6549)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51437E #707E43
analogous
#43527E #51437E #6E437E
triadic
#51437E #7E5143 #437E51
tetradic
#51437E #7E4352 #707E43 #437E6E
square
#51437E #7E4352 #707E43 #437E6E
split-complementary
#51437E #7E6E43 #527E43
monochromatic
#1E192E #372E56 #51437E #6B58A6 #8E80BB

Accessibility & contrast

On white

8.56
#51437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#51437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51437E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51437E#FFFFFF#000000##FFFFFF
##51437E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#464E5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #51437e;
/* rgb */ color: rgb(81, 67, 126);
/* oklch */ color: oklch(42.6% 0.096 292.8);
Tailwind
colors: {
  custom: {
    50: '#8477a4',
    500: '#51437e',
    950: '#000000',
  },
}
SCSS
$custom: #51437e;
$custom-light: #8477a4;
$custom-dark: #000000;
JSON
{
  "hex": "#51437e",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 254.237,
    "s": 30.57,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.096,
    "h": 292.8
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#51437E
secondary
#9BA676
accent
#C761AF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #51437E

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

Preview Lab → · Contrast checker → · Palette generator →

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