#513BAE#513BAE

#513BAE is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.174 H 285.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#513BAE
RGBrgb(81, 59, 174)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 68%)
CMYKcmyk(53.4%, 66.1%, 0%, 31.8%)
CIE-LABlab(33.84, 40.08, -58.38)
CIE-LCHlch(33.84, 70.81, 304.47°)
OKLaboklab(44.68% 0.0472 -0.1676)
OKLCHoklch(44.68% 0.174 285.7)
XYZxyz(12.5950, 7.9326, 40.9037)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BAE #98AE3B
analogous
#3B5FAE #513BAE #8A3BAE
triadic
#513BAE #AE513B #3BAE51
tetradic
#513BAE #AE3B5F #98AE3B #3BAE8A
square
#513BAE #AE3B5F #98AE3B #3BAE8A
split-complementary
#513BAE #AE8A3B #5FAE3B
monochromatic
#261C53 #3C2C80 #513BAE #725EC8 #9A8CD8

Accessibility & contrast

On white

8.12
#513BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#513BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BAE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BAE#FFFFFF#000000##FFFFFF
##513BAE1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#2B586F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #513bae;
/* rgb */ color: rgb(81, 59, 174);
/* oklch */ color: oklch(44.7% 0.174 285.7);
Tailwind
colors: {
  custom: {
    50: '#8b72c7',
    500: '#513bae',
    950: '#000000',
  },
}
SCSS
$custom: #513bae;
$custom-light: #8b72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#513bae",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 251.478,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.17413,
    "h": 285.7
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#513BAE
secondary
#B6C282
accent
#D94FBE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513BAE

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

Preview Lab → · Contrast checker → · Palette generator →

#513BAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva