#513ED1#513ED1

#513ED1 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.2% C 0.214 H 280.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#513ED1
RGBrgb(81, 62, 209)
HSLhsl(248, 62%, 53%)
HSVhsv(248, 70%, 82%)
CMYKcmyk(61.2%, 70.3%, 0%, 18%)
CIE-LABlab(37.48, 49.11, -72.97)
CIE-LCHlch(37.48, 87.95, 303.94°)
OKLaboklab(48.22% 0.0393 -0.2104)
OKLCHoklch(48.22% 0.214 280.6)
XYZxyz(16.6210, 9.7968, 61.3243)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED1 #BED13E
analogous
#3E74D1 #513ED1 #9A3ED1
triadic
#513ED1 #D1513E #3ED151
tetradic
#513ED1 #D13E74 #BED13E #3ED19A
square
#513ED1 #D13E74 #BED13E #3ED19A
split-complementary
#513ED1 #D19A3E #74D13E
monochromatic
#281D78 #3928A9 #513ED1 #7E6FDD #AAA1E9

Accessibility & contrast

On white

7.10
#513ED1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#513ED1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ED1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED1#FFFFFF#000000##FFFFFF
##513ED11.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513ed1;
/* rgb */ color: rgb(81, 62, 209);
/* oklch */ color: oklch(48.2% 0.214 280.6);
Tailwind
colors: {
  custom: {
    50: '#9075e0',
    500: '#513ed1',
    950: '#000000',
  },
}
SCSS
$custom: #513ed1;
$custom-light: #9075e0;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed1",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 247.755,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.21403,
    "h": 280.6
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#513ED1
secondary
#CDD596
accent
#E543D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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