#51359D#51359D

#51359D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.160 H 290.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#51359D
RGBrgb(81, 53, 157)
HSLhsl(256, 50%, 41%)
HSVhsv(256, 66%, 62%)
CMYKcmyk(48.4%, 66.2%, 0%, 38.4%)
CIE-LABlab(31.18, 38.43, -52.48)
CIE-LCHlch(31.18, 65.05, 306.22°)
OKLaboklab(42.33% 0.0554 -0.1503)
OKLCHoklch(42.33% 0.16 290.2)
XYZxyz(10.7505, 6.7294, 32.6242)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51359D #819D35
analogous
#354D9D #51359D #85359D
triadic
#51359D #9D5135 #359D51
tetradic
#51359D #9D354D #819D35 #359D85
square
#51359D #9D354D #819D35 #359D85
split-complementary
#51359D #9D8535 #4D9D35
monochromatic
#221641 #39266F #51359D #6C4CC3 #927AD2

Accessibility & contrast

On white

8.95
#51359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#51359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51359D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51359D#FFFFFF#000000##FFFFFF
##51359D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#394E64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #51359d;
/* rgb */ color: rgb(81, 53, 157);
/* oklch */ color: oklch(42.3% 0.160 290.2);
Tailwind
colors: {
  custom: {
    50: '#896ebb',
    500: '#51359d',
    950: '#000000',
  },
}
SCSS
$custom: #51359d;
$custom-light: #896ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#51359d",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 256.154,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.16017,
    "h": 290.2
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#51359D
secondary
#A8BB73
accent
#D94FB4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #51359D

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

Preview Lab → · Contrast checker → · Palette generator →

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