#513CD6#513CD6

#513CD6 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.4% C 0.222 H 280.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#513CD6
RGBrgb(81, 60, 214)
HSLhsl(248, 65%, 54%)
HSVhsv(248, 72%, 84%)
CMYKcmyk(62.1%, 72%, 0%, 16.1%)
CIE-LABlab(37.54, 51.71, -75.74)
CIE-LCHlch(37.54, 91.70, 304.32°)
OKLaboklab(48.41% 0.0398 -0.2185)
OKLCHoklch(48.41% 0.222 280.3)
XYZxyz(17.1429, 9.8348, 64.6002)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CD6 #C1D63C
analogous
#3C74D6 #513CD6 #9E3CD6
triadic
#513CD6 #D6513C #3CD651
tetradic
#513CD6 #D63C74 #C1D63C #3CD69E
square
#513CD6 #D63C74 #C1D63C #3CD69E
split-complementary
#513CD6 #D69E3C #74D63C
monochromatic
#281A7D #3825B0 #513CD6 #7E6FE1 #ABA1EB

Accessibility & contrast

On white

7.08
#513CD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#513CD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CD6
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CD6#FFFFFF#000000##FFFFFF
##513CD61.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDB
Deuteranopia (green-blind)
#0052D3
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #513cd6;
/* rgb */ color: rgb(81, 60, 214);
/* oklch */ color: oklch(48.4% 0.222 280.3);
Tailwind
colors: {
  custom: {
    50: '#9174e4',
    500: '#513cd6',
    950: '#000000',
  },
}
SCSS
$custom: #513cd6;
$custom-light: #9174e4;
$custom-dark: #000000;
JSON
{
  "hex": "#513cd6",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 214
  },
  "hsl": {
    "h": 248.182,
    "s": 65.254,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.22208,
    "h": 280.3
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#513CD6
secondary
#CFD896
accent
#E840D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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