#513EE6#513EE6

#513EE6 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.2% C 0.239 H 278.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#513EE6
RGBrgb(81, 62, 230)
HSLhsl(247, 77%, 57%)
HSVhsv(247, 73%, 90%)
CMYKcmyk(64.8%, 73%, 0%, 9.8%)
CIE-LABlab(39.42, 55.47, -81.80)
CIE-LCHlch(39.42, 98.84, 304.14°)
OKLaboklab(50.19% 0.0352 -0.2362)
OKLCHoklch(50.19% 0.239 278.5)
XYZxyz(19.3943, 10.9061, 75.9306)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EE6 #D3E63E
analogous
#3E7FE6 #513EE6 #A53EE6
triadic
#513EE6 #E6513E #3EE651
tetradic
#513EE6 #E63E7F #D3E63E #3EE6A5
square
#513EE6 #E63E7F #D3E63E #3EE6A5
split-complementary
#513EE6 #E6A53E #7FE63E
monochromatic
#221396 #2F1ACC #513EE6 #8274ED #B3AAF4

Accessibility & contrast

On white

6.60
#513EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#513EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513EE6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EE6#FFFFFF#000000##FFFFFF
##513EE61.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063EB
Deuteranopia (green-blind)
#0056E3
Tritanopia (blue-blind)
#006E8F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #513ee6;
/* rgb */ color: rgb(81, 62, 230);
/* oklch */ color: oklch(50.2% 0.239 278.5);
Tailwind
colors: {
  custom: {
    50: '#9476ef',
    500: '#513ee6',
    950: '#000000',
  },
}
SCSS
$custom: #513ee6;
$custom-light: #9476ef;
$custom-dark: #000000;
JSON
{
  "hex": "#513ee6",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 230
  },
  "hsl": {
    "h": 246.786,
    "s": 77.064,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.23882,
    "h": 278.5
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#513EE6
secondary
#DAE29E
accent
#F434DE
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #513EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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