#513FA0#513FA0

#513FA0 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.150 H 287.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#513FA0
RGBrgb(81, 63, 160)
HSLhsl(251, 43%, 44%)
HSVhsv(251, 61%, 63%)
CMYKcmyk(49.4%, 60.6%, 0%, 37.3%)
CIE-LABlab(33.65, 33.39, -50.29)
CIE-LCHlch(33.65, 60.36, 303.58°)
OKLaboklab(44.2% 0.0442 -0.1438)
OKLCHoklch(44.2% 0.15 287.1)
XYZxyz(11.5142, 7.8419, 34.1578)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FA0 #8EA03F
analogous
#3F5DA0 #513FA0 #813FA0
triadic
#513FA0 #A0513F #3FA051
tetradic
#513FA0 #A03F5D #8EA03F #3FA081
square
#513FA0 #A03F5D #8EA03F #3FA081
split-complementary
#513FA0 #A0813F #5DA03F
monochromatic
#251C48 #3B2E74 #513FA0 #6F5DBF #9689D0

Accessibility & contrast

On white

8.18
#513FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513FA0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FA0#FFFFFF#000000##FFFFFF
##513FA01.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#365569
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #513fa0;
/* rgb */ color: rgb(81, 63, 160);
/* oklch */ color: oklch(44.2% 0.150 287.1);
Tailwind
colors: {
  custom: {
    50: '#8875bd',
    500: '#513fa0',
    950: '#000000',
  },
}
SCSS
$custom: #513fa0;
$custom-light: #8875bd;
$custom-dark: #000000;
JSON
{
  "hex": "#513fa0",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 251.134,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.442,
    "c": 0.15047,
    "h": 287.1
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#513FA0
secondary
#B0BB80
accent
#D355BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #513FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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