#513CA8#513CA8

#513CA8 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.3% C 0.165 H 286.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#513CA8
RGBrgb(81, 60, 168)
HSLhsl(252, 47%, 45%)
HSVhsv(252, 64%, 66%)
CMYKcmyk(51.8%, 64.3%, 0%, 34.1%)
CIE-LABlab(33.58, 37.65, -55.22)
CIE-LCHlch(33.58, 66.83, 304.29°)
OKLaboklab(44.34% 0.0469 -0.1583)
OKLCHoklch(44.34% 0.165 286.5)
XYZxyz(12.0750, 7.8076, 37.9090)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CA8 #93A83C
analogous
#3C5DA8 #513CA8 #873CA8
triadic
#513CA8 #A8513C #3CA851
tetradic
#513CA8 #A83C5D #93A83C #3CA887
square
#513CA8 #A83C5D #93A83C #3CA887
split-complementary
#513CA8 #A8873C #5DA83C
monochromatic
#261C4E #3B2C7B #513CA8 #715CC5 #9889D5

Accessibility & contrast

On white

8.20
#513CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#513CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CA8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CA8#FFFFFF#000000##FFFFFF
##513CA81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#30566C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #513ca8;
/* rgb */ color: rgb(81, 60, 168);
/* oklch */ color: oklch(44.3% 0.165 286.5);
Tailwind
colors: {
  custom: {
    50: '#8a73c3',
    500: '#513ca8',
    950: '#000000',
  },
}
SCSS
$custom: #513ca8;
$custom-light: #8a73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#513ca8",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 251.667,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44339,
    "c": 0.16512,
    "h": 286.5
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#513CA8
secondary
#B3BF80
accent
#D751BD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #513CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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