#513EAE#513EAE

#513EAE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.170 H 285.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#513EAE
RGBrgb(81, 62, 174)
HSLhsl(250, 47%, 46%)
HSVhsv(250, 64%, 68%)
CMYKcmyk(53.4%, 64.4%, 0%, 31.8%)
CIE-LABlab(34.50, 38.31, -57.31)
CIE-LCHlch(34.50, 68.93, 303.77°)
OKLaboklab(45.16% 0.0443 -0.1645)
OKLCHoklch(45.16% 0.17 285.1)
XYZxyz(12.7536, 8.2499, 40.9566)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EAE #9BAE3E
analogous
#3E63AE #513EAE #893EAE
triadic
#513EAE #AE513E #3EAE51
tetradic
#513EAE #AE3E63 #9BAE3E #3EAE89
square
#513EAE #AE3E63 #9BAE3E #3EAE89
split-complementary
#513EAE #AE893E #63AE3E
monochromatic
#271E54 #3C2E81 #513EAE #7362C7 #9B8FD7

Accessibility & contrast

On white

7.92
#513EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#513EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EAE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EAE#FFFFFF#000000##FFFFFF
##513EAE1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#2B5970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #513eae;
/* rgb */ color: rgb(81, 62, 174);
/* oklch */ color: oklch(45.2% 0.170 285.1);
Tailwind
colors: {
  custom: {
    50: '#8a74c7',
    500: '#513eae',
    950: '#000000',
  },
}
SCSS
$custom: #513eae;
$custom-light: #8a74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#513eae",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 250.179,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.17032,
    "h": 285.1
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#513EAE
secondary
#B8C286
accent
#D751C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #513EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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