#513CAE#513CAE

#513CAE is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.173 H 285.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#513CAE
RGBrgb(81, 60, 174)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 68%)
CMYKcmyk(53.4%, 65.5%, 0%, 31.8%)
CIE-LABlab(34.06, 39.49, -58.02)
CIE-LCHlch(34.06, 70.19, 304.24°)
OKLaboklab(44.84% 0.0463 -0.1666)
OKLCHoklch(44.84% 0.173 285.5)
XYZxyz(12.6469, 8.0364, 40.9210)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CAE #99AE3C
analogous
#3C60AE #513CAE #8A3CAE
triadic
#513CAE #AE513C #3CAE51
tetradic
#513CAE #AE3C60 #99AE3C #3CAE8A
square
#513CAE #AE3C60 #99AE3C #3CAE8A
split-complementary
#513CAE #AE8A3C #60AE3C
monochromatic
#271D53 #3C2C80 #513CAE #735FC8 #9B8DD8

Accessibility & contrast

On white

8.05
#513CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#513CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CAE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CAE#FFFFFF#000000##FFFFFF
##513CAE1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513cae;
/* rgb */ color: rgb(81, 60, 174);
/* oklch */ color: oklch(44.8% 0.173 285.5);
Tailwind
colors: {
  custom: {
    50: '#8a73c7',
    500: '#513cae',
    950: '#000000',
  },
}
SCSS
$custom: #513cae;
$custom-light: #8a73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#513cae",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 251.053,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.17287,
    "h": 285.5
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#513CAE
secondary
#B7C283
accent
#D850BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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