#51359A#51359A

#51359A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.156 H 290.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#51359A
RGBrgb(81, 53, 154)
HSLhsl(257, 49%, 41%)
HSVhsv(257, 66%, 60%)
CMYKcmyk(47.4%, 65.6%, 0%, 39.6%)
CIE-LABlab(30.95, 37.54, -51.04)
CIE-LCHlch(30.95, 63.36, 306.34°)
OKLaboklab(42.08% 0.0558 -0.1461)
OKLCHoklch(42.08% 0.156 290.9)
XYZxyz(10.4975, 6.6283, 31.2919)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51359A #7E9A35
analogous
#354B9A #51359A #83359A
triadic
#51359A #9A5135 #359A51
tetradic
#51359A #9A354B #7E9A35 #359A83
square
#51359A #9A354B #7E9A35 #359A83
split-complementary
#51359A #9A8335 #4B9A35
monochromatic
#21163F #39256C #51359A #6C4BC1 #9179D1

Accessibility & contrast

On white

9.03
#51359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#51359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51359A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51359A#FFFFFF#000000##FFFFFF
##51359A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#3A4D62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #51359a;
/* rgb */ color: rgb(81, 53, 154);
/* oklch */ color: oklch(42.1% 0.156 290.9);
Tailwind
colors: {
  custom: {
    50: '#886eb9',
    500: '#51359a',
    950: '#000000',
  },
}
SCSS
$custom: #51359a;
$custom-light: #886eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#51359a",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 256.634,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.15633,
    "h": 290.9
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#51359A
secondary
#A5B971
accent
#D84FB2
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #51359A

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

Preview Lab → · Contrast checker → · Palette generator →

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