#513EA0#513EA0

#513EA0 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.0% C 0.152 H 287.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#513EA0
RGBrgb(81, 62, 160)
HSLhsl(252, 44%, 44%)
HSVhsv(252, 61%, 63%)
CMYKcmyk(49.4%, 61.2%, 0%, 37.3%)
CIE-LABlab(33.42, 34.00, -50.67)
CIE-LCHlch(33.42, 61.02, 303.86°)
OKLaboklab(44.03% 0.0453 -0.1449)
OKLCHoklch(44.03% 0.152 287.4)
XYZxyz(11.4593, 7.7321, 34.1395)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EA0 #8DA03E
analogous
#3E5CA0 #513EA0 #823EA0
triadic
#513EA0 #A0513E #3EA051
tetradic
#513EA0 #A03E5C #8DA03E #3EA082
square
#513EA0 #A03E5C #8DA03E #3EA082
split-complementary
#513EA0 #A0823E #5CA03E
monochromatic
#241C48 #3B2D74 #513EA0 #6F5CC0 #9688D1

Accessibility & contrast

On white

8.25
#513EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#513EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EA0
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EA0#FFFFFF#000000##FFFFFF
##513EA01.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#365569
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #513ea0;
/* rgb */ color: rgb(81, 62, 160);
/* oklch */ color: oklch(44.0% 0.152 287.4);
Tailwind
colors: {
  custom: {
    50: '#8874bd',
    500: '#513ea0',
    950: '#000000',
  },
}
SCSS
$custom: #513ea0;
$custom-light: #8874bd;
$custom-dark: #000000;
JSON
{
  "hex": "#513ea0",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 251.633,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.15186,
    "h": 287.4
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#513EA0
secondary
#AFBB7F
accent
#D454BB
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #513EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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