#513CA2#513CA2

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

Color values

HEX#513CA2
RGBrgb(81, 60, 162)
HSLhsl(252, 46%, 44%)
HSVhsv(252, 63%, 64%)
CMYKcmyk(50%, 63%, 0%, 36.5%)
CIE-LABlab(33.11, 35.82, -52.37)
CIE-LCHlch(33.11, 63.45, 304.37°)
OKLaboklab(43.85% 0.0474 -0.1499)
OKLCHoklch(43.85% 0.157 287.5)
XYZxyz(11.5289, 7.5892, 35.0328)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CA2 #8DA23C
analogous
#3C5AA2 #513CA2 #843CA2
triadic
#513CA2 #A2513C #3CA251
tetradic
#513CA2 #A23C5A #8DA23C #3CA284
square
#513CA2 #A23C5A #8DA23C #3CA284
split-complementary
#513CA2 #A2843C #5AA23C
monochromatic
#241B49 #3B2B75 #513CA2 #6F59C2 #9686D2

Accessibility & contrast

On white

8.34
#513CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#513CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CA2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CA2#FFFFFF#000000##FFFFFF
##513CA21.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#355469
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #513ca2;
/* rgb */ color: rgb(81, 60, 162);
/* oklch */ color: oklch(43.9% 0.157 287.5);
Tailwind
colors: {
  custom: {
    50: '#8973be',
    500: '#513ca2',
    950: '#000000',
  },
}
SCSS
$custom: #513ca2;
$custom-light: #8973be;
$custom-dark: #000000;
JSON
{
  "hex": "#513ca2",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 252.353,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.15726,
    "h": 287.5
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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