#513FD6#513FD6

#513FD6 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.219 H 279.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#513FD6
RGBrgb(81, 63, 214)
HSLhsl(247, 65%, 54%)
HSVhsv(247, 71%, 84%)
CMYKcmyk(62.1%, 70.6%, 0%, 16.1%)
CIE-LABlab(38.12, 50.09, -74.78)
CIE-LCHlch(38.12, 90.01, 303.81°)
OKLaboklab(48.82% 0.0377 -0.2157)
OKLCHoklch(48.82% 0.219 279.9)
XYZxyz(17.3046, 10.1581, 64.6541)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513FD6 #C4D63F
analogous
#3F79D6 #513FD6 #9C3FD6
triadic
#513FD6 #D6513F #3FD651
tetradic
#513FD6 #D63F79 #C4D63F #3FD69C
square
#513FD6 #D63F79 #C4D63F #3FD69C
split-complementary
#513FD6 #D69C3F #79D63F
monochromatic
#271B7F #3726B2 #513FD6 #7F71E1 #ACA4EC

Accessibility & contrast

On white

6.93
#513FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#513FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513FD6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513FD6#FFFFFF#000000##FFFFFF
##513FD61.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDA
Deuteranopia (green-blind)
#0054D3
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #513fd6;
/* rgb */ color: rgb(81, 63, 214);
/* oklch */ color: oklch(48.8% 0.219 279.9);
Tailwind
colors: {
  custom: {
    50: '#9176e4',
    500: '#513fd6',
    950: '#000000',
  },
}
SCSS
$custom: #513fd6;
$custom-light: #9176e4;
$custom-dark: #000000;
JSON
{
  "hex": "#513fd6",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 247.152,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.21898,
    "h": 279.9
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#513FD6
secondary
#D1D898
accent
#E840D4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #513FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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