#513AA3#513AA3

#513AA3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.161 H 287.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#513AA3
RGBrgb(81, 58, 163)
HSLhsl(253, 48%, 43%)
HSVhsv(253, 64%, 64%)
CMYKcmyk(50.3%, 64.4%, 0%, 36.1%)
CIE-LABlab(32.74, 37.31, -53.57)
CIE-LCHlch(32.74, 65.28, 304.85°)
OKLaboklab(43.61% 0.0495 -0.1535)
OKLCHoklch(43.61% 0.161 287.9)
XYZxyz(11.5153, 7.4193, 35.4685)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AA3 #8CA33A
analogous
#3A57A3 #513AA3 #853AA3
triadic
#513AA3 #A3513A #3AA351
tetradic
#513AA3 #A33A57 #8CA33A #3AA385
square
#513AA3 #A33A57 #8CA33A #3AA385
split-complementary
#513AA3 #A3853A #57A33A
monochromatic
#241A49 #3B2A76 #513AA3 #6F57C3 #9584D3

Accessibility & contrast

On white

8.45
#513AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#513AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513AA3
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AA3#FFFFFF#000000##FFFFFF
##513AA31.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#345369
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #513aa3;
/* rgb */ color: rgb(81, 58, 163);
/* oklch */ color: oklch(43.6% 0.161 287.9);
Tailwind
colors: {
  custom: {
    50: '#8971bf',
    500: '#513aa3',
    950: '#000000',
  },
}
SCSS
$custom: #513aa3;
$custom-light: #8971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#513aa3",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 253.143,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.16126,
    "h": 287.9
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#513AA3
secondary
#AFBD7C
accent
#D751BA
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #513AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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