#51437B#51437B

#51437B is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.4% C 0.092 H 293.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#51437B
RGBrgb(81, 67, 123)
HSLhsl(255, 29%, 37%)
HSVhsv(255, 46%, 48%)
CMYKcmyk(34.1%, 45.5%, 0%, 51.8%)
CIE-LABlab(32.24, 19.74, -29.85)
CIE-LCHlch(32.24, 35.78, 303.48°)
OKLaboklab(42.38% 0.0367 -0.0838)
OKLCHoklch(42.38% 0.092 293.6)
XYZxyz(8.9747, 7.1935, 19.6507)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51437B #6D7B43
analogous
#43517B #51437B #6D437B
triadic
#51437B #7B5143 #437B51
tetradic
#51437B #7B4351 #6D7B43 #437B6D
square
#51437B #7B4351 #6D7B43 #437B6D
split-complementary
#51437B #7B6D43 #517B43
monochromatic
#1D182C #372D53 #51437B #6B59A3 #8E7FB9

Accessibility & contrast

On white

8.61
#51437B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#51437B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51437B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51437B#FFFFFF#000000##FFFFFF
##51437B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#474D59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #51437b;
/* rgb */ color: rgb(81, 67, 123);
/* oklch */ color: oklch(42.4% 0.092 293.6);
Tailwind
colors: {
  custom: {
    50: '#8477a1',
    500: '#51437b',
    950: '#000000',
  },
}
SCSS
$custom: #51437b;
$custom-light: #8477a1;
$custom-dark: #000000;
JSON
{
  "hex": "#51437b",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 123
  },
  "hsl": {
    "h": 255,
    "s": 29.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42379,
    "c": 0.09151,
    "h": 293.6
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#51437B
secondary
#99A475
accent
#C662AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080F
muted
#7C7B7E

Preview Lab

Preview with #51437B

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

Preview Lab → · Contrast checker → · Palette generator →

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