#513CA3#513CA3

#513CA3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.159 H 287.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#513CA3
RGBrgb(81, 60, 163)
HSLhsl(252, 46%, 44%)
HSVhsv(252, 63%, 64%)
CMYKcmyk(50.3%, 63.2%, 0%, 36.1%)
CIE-LABlab(33.19, 36.12, -52.85)
CIE-LCHlch(33.19, 64.01, 304.35°)
OKLaboklab(43.93% 0.0473 -0.1514)
OKLCHoklch(43.93% 0.159 287.4)
XYZxyz(11.6181, 7.6249, 35.5028)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CA3 #8EA33C
analogous
#3C5AA3 #513CA3 #843CA3
triadic
#513CA3 #A3513C #3CA351
tetradic
#513CA3 #A33C5A #8EA33C #3CA384
square
#513CA3 #A33C5A #8EA33C #3CA384
split-complementary
#513CA3 #A3843C #5AA33C
monochromatic
#251B4A #3B2C76 #513CA3 #6F5AC2 #9687D3

Accessibility & contrast

On white

8.32
#513CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#513CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CA3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CA3#FFFFFF#000000##FFFFFF
##513CA31.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#34546A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #513ca3;
/* rgb */ color: rgb(81, 60, 163);
/* oklch */ color: oklch(43.9% 0.159 287.4);
Tailwind
colors: {
  custom: {
    50: '#8973bf',
    500: '#513ca3',
    950: '#000000',
  },
}
SCSS
$custom: #513ca3;
$custom-light: #8973bf;
$custom-dark: #000000;
JSON
{
  "hex": "#513ca3",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 252.233,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.15858,
    "h": 287.4
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#513CA3
secondary
#B0BD7E
accent
#D652BB
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #513CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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