#513CA9#513CA9

#513CA9 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.166 H 286.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#513CA9
RGBrgb(81, 60, 169)
HSLhsl(252, 48%, 45%)
HSVhsv(252, 64%, 66%)
CMYKcmyk(52.1%, 64.5%, 0%, 33.7%)
CIE-LABlab(33.66, 37.96, -55.69)
CIE-LCHlch(33.66, 67.39, 304.28°)
OKLaboklab(44.42% 0.0468 -0.1597)
OKLCHoklch(44.42% 0.166 286.3)
XYZxyz(12.1685, 7.8450, 38.4015)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CA9 #94A93C
analogous
#3C5DA9 #513CA9 #883CA9
triadic
#513CA9 #A9513C #3CA951
tetradic
#513CA9 #A93C5D #94A93C #3CA988
square
#513CA9 #A93C5D #94A93C #3CA988
split-complementary
#513CA9 #A9883C #5DA93C
monochromatic
#261C4F #3B2C7C #513CA9 #715DC5 #988AD5

Accessibility & contrast

On white

8.17
#513CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#513CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CA9
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CA9#FFFFFF#000000##FFFFFF
##513CA91.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#2F566D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #513ca9;
/* rgb */ color: rgb(81, 60, 169);
/* oklch */ color: oklch(44.4% 0.166 286.3);
Tailwind
colors: {
  custom: {
    50: '#8a73c3',
    500: '#513ca9',
    950: '#000000',
  },
}
SCSS
$custom: #513ca9;
$custom-light: #8a73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#513ca9",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 251.56,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44421,
    "c": 0.16642,
    "h": 286.3
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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