#513CE1#513CE1

#513CE1 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.5% C 0.235 H 279.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#513CE1
RGBrgb(81, 60, 225)
HSLhsl(248, 73%, 56%)
HSVhsv(248, 73%, 88%)
CMYKcmyk(64%, 73.3%, 0%, 11.8%)
CIE-LABlab(38.58, 55.01, -80.34)
CIE-LCHlch(38.58, 97.37, 304.40°)
OKLaboklab(49.45% 0.0375 -0.2319)
OKLCHoklch(49.45% 0.235 279.2)
XYZxyz(18.5955, 10.4158, 72.2501)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CE1 #CCE13C
analogous
#3C7AE1 #513CE1 #A33CE1
triadic
#513CE1 #E1513C #3CE151
tetradic
#513CE1 #E13C7A #CCE13C #3CE1A3
square
#513CE1 #E13C7A #CCE13C #3CE1A3
split-complementary
#513CE1 #E1A33C #7AE13C
monochromatic
#25168D #331EC2 #513CE1 #8071E9 #B0A6F1

Accessibility & contrast

On white

6.81
#513CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#513CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513CE1
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CE1#FFFFFF#000000##FFFFFF
##513CE11.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E6
Deuteranopia (green-blind)
#0054DE
Tritanopia (blue-blind)
#006B8C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #513ce1;
/* rgb */ color: rgb(81, 60, 225);
/* oklch */ color: oklch(49.5% 0.235 279.2);
Tailwind
colors: {
  custom: {
    50: '#9375ec',
    500: '#513ce1',
    950: '#000000',
  },
}
SCSS
$custom: #513ce1;
$custom-light: #9375ec;
$custom-dark: #000000;
JSON
{
  "hex": "#513ce1",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 225
  },
  "hsl": {
    "h": 247.636,
    "s": 73.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.23495,
    "h": 279.2
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#513CE1
secondary
#D6DF9A
accent
#F038D9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #513CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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