#513BAD#513BAD

#513BAD is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.173 H 285.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#513BAD
RGBrgb(81, 59, 173)
HSLhsl(252, 49%, 45%)
HSVhsv(252, 66%, 68%)
CMYKcmyk(53.2%, 65.9%, 0%, 32.2%)
CIE-LABlab(33.76, 39.77, -57.91)
CIE-LCHlch(33.76, 70.25, 304.48°)
OKLaboklab(44.6% 0.0474 -0.1662)
OKLCHoklch(44.6% 0.173 285.9)
XYZxyz(12.4979, 7.8937, 40.3922)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BAD #97AD3B
analogous
#3B5EAD #513BAD #8A3BAD
triadic
#513BAD #AD513B #3BAD51
tetradic
#513BAD #AD3B5E #97AD3B #3BAD8A
square
#513BAD #AD3B5E #97AD3B #3BAD8A
split-complementary
#513BAD #AD8A3B #5EAD3B
monochromatic
#261C52 #3C2B7F #513BAD #725DC8 #9A8BD7

Accessibility & contrast

On white

8.14
#513BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#513BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BAD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BAD#FFFFFF#000000##FFFFFF
##513BAD1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#2C576F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #513bad;
/* rgb */ color: rgb(81, 59, 173);
/* oklch */ color: oklch(44.6% 0.173 285.9);
Tailwind
colors: {
  custom: {
    50: '#8a72c6',
    500: '#513bad',
    950: '#000000',
  },
}
SCSS
$custom: #513bad;
$custom-light: #8a72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#513bad",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 251.579,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.17285,
    "h": 285.9
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#513BAD
secondary
#B6C282
accent
#D94FBE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #513BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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