#513ED6#513ED6

#513ED6 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.220 H 280.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#513ED6
RGBrgb(81, 62, 214)
HSLhsl(248, 65%, 54%)
HSVhsv(248, 71%, 84%)
CMYKcmyk(62.1%, 71%, 0%, 16.1%)
CIE-LABlab(37.93, 50.63, -75.11)
CIE-LCHlch(37.93, 90.58, 303.99°)
OKLaboklab(48.68% 0.0384 -0.2166)
OKLCHoklch(48.68% 0.22 280)
XYZxyz(17.2497, 10.0483, 64.6358)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED6 #C3D63E
analogous
#3E77D6 #513ED6 #9D3ED6
triadic
#513ED6 #D6513E #3ED651
tetradic
#513ED6 #D63E77 #C3D63E #3ED69D
square
#513ED6 #D63E77 #C3D63E #3ED69D
split-complementary
#513ED6 #D69D3E #77D63E
monochromatic
#271B7F #3726B1 #513ED6 #7F70E1 #ACA3EB

Accessibility & contrast

On white

6.98
#513ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#513ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513ED6
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED6#FFFFFF#000000##FFFFFF
##513ED61.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDB
Deuteranopia (green-blind)
#0053D3
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513ed6;
/* rgb */ color: rgb(81, 62, 214);
/* oklch */ color: oklch(48.7% 0.220 280.0);
Tailwind
colors: {
  custom: {
    50: '#9176e4',
    500: '#513ed6',
    950: '#000000',
  },
}
SCSS
$custom: #513ed6;
$custom-light: #9176e4;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed6",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 247.5,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.22002,
    "h": 280
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#513ED6
secondary
#D0D898
accent
#E840D3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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