#513FA3#513FA3

#513FA3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.154 H 286.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#513FA3
RGBrgb(81, 63, 163)
HSLhsl(251, 44%, 44%)
HSVhsv(251, 61%, 64%)
CMYKcmyk(50.3%, 61.3%, 0%, 36.1%)
CIE-LABlab(33.87, 34.31, -51.74)
CIE-LCHlch(33.87, 62.08, 303.55°)
OKLaboklab(44.43% 0.0441 -0.1481)
OKLCHoklch(44.43% 0.154 286.6)
XYZxyz(11.7798, 7.9481, 35.5567)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FA3 #91A33F
analogous
#3F5FA3 #513FA3 #833FA3
triadic
#513FA3 #A3513F #3FA351
tetradic
#513FA3 #A33F5F #91A33F #3FA383
square
#513FA3 #A33F5F #91A33F #3FA383
split-complementary
#513FA3 #A3833F #5FA33F
monochromatic
#251D4B #3B2E77 #513FA3 #705EC1 #978AD2

Accessibility & contrast

On white

8.11
#513FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#513FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513FA3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FA3#FFFFFF#000000##FFFFFF
##513FA31.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#34566B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #513fa3;
/* rgb */ color: rgb(81, 63, 163);
/* oklch */ color: oklch(44.4% 0.154 286.6);
Tailwind
colors: {
  custom: {
    50: '#8975bf',
    500: '#513fa3',
    950: '#000000',
  },
}
SCSS
$custom: #513fa3;
$custom-light: #8975bf;
$custom-dark: #000000;
JSON
{
  "hex": "#513fa3",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 250.8,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.15449,
    "h": 286.6
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#513FA3
secondary
#B2BD81
accent
#D454BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #513FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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