#513CA0#513CA0

#513CA0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.155 H 287.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#513CA0
RGBrgb(81, 60, 160)
HSLhsl(253, 45%, 43%)
HSVhsv(253, 63%, 63%)
CMYKcmyk(49.4%, 62.5%, 0%, 37.3%)
CIE-LABlab(32.96, 35.21, -51.41)
CIE-LCHlch(32.96, 62.31, 304.40°)
OKLaboklab(43.69% 0.0475 -0.1471)
OKLCHoklch(43.69% 0.155 287.9)
XYZxyz(11.3525, 7.5186, 34.1040)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CA0 #8BA03C
analogous
#3C59A0 #513CA0 #833CA0
triadic
#513CA0 #A0513C #3CA051
tetradic
#513CA0 #A03C59 #8BA03C #3CA083
square
#513CA0 #A03C59 #8BA03C #3CA083
split-complementary
#513CA0 #A0833C #59A03C
monochromatic
#241B47 #3A2B73 #513CA0 #6E59C1 #9585D1

Accessibility & contrast

On white

8.39
#513CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#513CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CA0
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CA0#FFFFFF#000000##FFFFFF
##513CA01.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#365368
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #513ca0;
/* rgb */ color: rgb(81, 60, 160);
/* oklch */ color: oklch(43.7% 0.155 287.9);
Tailwind
colors: {
  custom: {
    50: '#8873bd',
    500: '#513ca0',
    950: '#000000',
  },
}
SCSS
$custom: #513ca0;
$custom-light: #8873bd;
$custom-dark: #000000;
JSON
{
  "hex": "#513ca0",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 252.6,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.15462,
    "h": 287.9
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#513CA0
secondary
#AEBB7C
accent
#D553BA
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #513CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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