#513CA6#513CA6

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

Color values

HEX#513CA6
RGBrgb(81, 60, 166)
HSLhsl(252, 47%, 44%)
HSVhsv(252, 64%, 65%)
CMYKcmyk(51.2%, 63.9%, 0%, 34.9%)
CIE-LABlab(33.42, 37.04, -54.27)
CIE-LCHlch(33.42, 65.71, 304.31°)
OKLaboklab(44.18% 0.0471 -0.1555)
OKLCHoklch(44.18% 0.163 286.8)
XYZxyz(11.8901, 7.7337, 36.9352)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CA6 #91A63C
analogous
#3C5CA6 #513CA6 #863CA6
triadic
#513CA6 #A6513C #3CA651
tetradic
#513CA6 #A63C5C #91A63C #3CA686
square
#513CA6 #A63C5C #91A63C #3CA686
split-complementary
#513CA6 #A6863C #5CA63C
monochromatic
#251C4C #3B2C79 #513CA6 #705BC4 #9788D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513CA6#FFFFFF#000000##FFFFFF
##513CA61.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)
#0051A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#32556B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #513ca6;
/* rgb */ color: rgb(81, 60, 166);
/* oklch */ color: oklch(44.2% 0.163 286.8);
Tailwind
colors: {
  custom: {
    50: '#8973c1',
    500: '#513ca6',
    950: '#000000',
  },
}
SCSS
$custom: #513ca6;
$custom-light: #8973c1;
$custom-dark: #000000;
JSON
{
  "hex": "#513ca6",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 251.887,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.16252,
    "h": 286.8
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#513CA6
secondary
#B2BE7F
accent
#D751BC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #513CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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