#513EC6#513EC6

#513EC6 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.201 H 281.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#513EC6
RGBrgb(81, 62, 198)
HSLhsl(248, 54%, 51%)
HSVhsv(248, 69%, 78%)
CMYKcmyk(59.1%, 68.7%, 0%, 22.4%)
CIE-LABlab(36.50, 45.73, -68.18)
CIE-LCHlch(36.50, 82.10, 303.85°)
OKLaboklab(47.22% 0.0412 -0.1964)
OKLCHoklch(47.22% 0.201 281.8)
XYZxyz(15.3058, 9.2708, 54.3980)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513EC6 #B3C63E
analogous
#3E6FC6 #513EC6 #953EC6
triadic
#513EC6 #C6513E #3EC651
tetradic
#513EC6 #C63E6F #B3C63E #3EC695
square
#513EC6 #C63E6F #B3C63E #3EC695
split-complementary
#513EC6 #C6953E #6FC63E
monochromatic
#2A1F6A #3C2D99 #513EC6 #7C6DD4 #A69CE2

Accessibility & contrast

On white

7.36
#513EC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#513EC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513EC6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513EC6#FFFFFF#000000##FFFFFF
##513EC61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #513ec6;
/* rgb */ color: rgb(81, 62, 198);
/* oklch */ color: oklch(47.2% 0.201 281.8);
Tailwind
colors: {
  custom: {
    50: '#8e75d8',
    500: '#513ec6',
    950: '#000000',
  },
}
SCSS
$custom: #513ec6;
$custom-light: #8e75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513ec6",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 248.382,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.20064,
    "h": 281.8
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#513EC6
secondary
#C6CE92
accent
#DE4AC9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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