#513699#513699

#513699 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.154 H 290.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#513699
RGBrgb(81, 54, 153)
HSLhsl(256, 48%, 41%)
HSVhsv(256, 65%, 60%)
CMYKcmyk(47.1%, 64.7%, 0%, 40%)
CIE-LABlab(31.08, 36.67, -50.21)
CIE-LCHlch(31.08, 62.17, 306.14°)
OKLaboklab(42.16% 0.0548 -0.1436)
OKLCHoklch(42.16% 0.154 290.9)
XYZxyz(10.4607, 6.6872, 30.8704)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513699 #7E9936
analogous
#364C99 #513699 #823699
triadic
#513699 #995136 #369951
tetradic
#513699 #99364C #7E9936 #369982
square
#513699 #99364C #7E9936 #369982
split-complementary
#513699 #998236 #4C9936
monochromatic
#21163F #39266C #513699 #6C4CC0 #917AD0

Accessibility & contrast

On white

8.98
#513699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#513699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513699
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513699#FFFFFF#000000##FFFFFF
##5136991.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#3B4D62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #513699;
/* rgb */ color: rgb(81, 54, 153);
/* oklch */ color: oklch(42.2% 0.154 290.9);
Tailwind
colors: {
  custom: {
    50: '#886eb8',
    500: '#513699',
    950: '#000000',
  },
}
SCSS
$custom: #513699;
$custom-light: #886eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#513699",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 256.364,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4216,
    "c": 0.15369,
    "h": 290.9
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#513699
secondary
#A5B972
accent
#D750B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513699

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

Preview Lab → · Contrast checker → · Palette generator →

#513699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva