#513CC6#513CC6

#513CC6 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.9% C 0.203 H 282.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#513CC6
RGBrgb(81, 60, 198)
HSLhsl(249, 55%, 51%)
HSVhsv(249, 70%, 78%)
CMYKcmyk(59.1%, 69.7%, 0%, 22.4%)
CIE-LABlab(36.09, 46.85, -68.85)
CIE-LCHlch(36.09, 83.27, 304.23°)
OKLaboklab(46.93% 0.0428 -0.1983)
OKLCHoklch(46.93% 0.203 282.2)
XYZxyz(15.1991, 9.0572, 54.3624)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CC6 #B1C63C
analogous
#3C6CC6 #513CC6 #963CC6
triadic
#513CC6 #C6513C #3CC651
tetradic
#513CC6 #C63C6C #B1C63C #3CC696
square
#513CC6 #C63C6C #B1C63C #3CC696
split-complementary
#513CC6 #C6963C #6CC63C
monochromatic
#2A1F69 #3D2D98 #513CC6 #7B6BD4 #A69BE2

Accessibility & contrast

On white

7.47
#513CC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#513CC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CC6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CC6#FFFFFF#000000##FFFFFF
##513CC61.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #513cc6;
/* rgb */ color: rgb(81, 60, 198);
/* oklch */ color: oklch(46.9% 0.203 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e74d8',
    500: '#513cc6',
    950: '#000000',
  },
}
SCSS
$custom: #513cc6;
$custom-light: #8e74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#513cc6",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 249.13,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.20288,
    "h": 282.2
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#513CC6
secondary
#C4CE90
accent
#DE4AC8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #513CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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