#513CAF#513CAF

#513CAF is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.174 H 285.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#513CAF
RGBrgb(81, 60, 175)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 69%)
CMYKcmyk(53.7%, 65.7%, 0%, 31.4%)
CIE-LABlab(34.14, 39.80, -58.49)
CIE-LCHlch(34.14, 70.74, 304.23°)
OKLaboklab(44.92% 0.0461 -0.1679)
OKLCHoklch(44.92% 0.174 285.4)
XYZxyz(12.7447, 8.0755, 41.4363)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CAF #9AAF3C
analogous
#3C60AF #513CAF #8A3CAF
triadic
#513CAF #AF513C #3CAF51
tetradic
#513CAF #AF3C60 #9AAF3C #3CAF8A
square
#513CAF #AF3C60 #9AAF3C #3CAF8A
split-complementary
#513CAF #AF8A3C #60AF3C
monochromatic
#271D54 #3C2C81 #513CAF #7360C8 #9B8DD8

Accessibility & contrast

On white

8.03
#513CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#513CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CAF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CAF#FFFFFF#000000##FFFFFF
##513CAF1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#2A5970
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #513caf;
/* rgb */ color: rgb(81, 60, 175);
/* oklch */ color: oklch(44.9% 0.174 285.4);
Tailwind
colors: {
  custom: {
    50: '#8b73c8',
    500: '#513caf',
    950: '#000000',
  },
}
SCSS
$custom: #513caf;
$custom-light: #8b73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#513caf",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 250.957,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44921,
    "c": 0.17416,
    "h": 285.4
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#513CAF
secondary
#B7C384
accent
#D84FBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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