#513AC0#513AC0

#513AC0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.198 H 283.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#513AC0
RGBrgb(81, 58, 192)
HSLhsl(250, 54%, 49%)
HSVhsv(250, 70%, 75%)
CMYKcmyk(57.8%, 69.8%, 0%, 24.7%)
CIE-LABlab(35.16, 46.13, -66.86)
CIE-LCHlch(35.16, 81.23, 304.60°)
OKLaboklab(46.1% 0.0454 -0.1925)
OKLCHoklch(46.1% 0.198 283.3)
XYZxyz(14.4179, 8.5803, 50.7554)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AC0 #A9C03A
analogous
#3A66C0 #513AC0 #943AC0
triadic
#513AC0 #C0513A #3AC051
tetradic
#513AC0 #C03A66 #A9C03A #3AC094
square
#513AC0 #C03A66 #A9C03A #3AC094
split-complementary
#513AC0 #C0943A #66C03A
monochromatic
#291E62 #3D2C91 #513AC0 #7966D1 #A295DF

Accessibility & contrast

On white

7.73
#513AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#513AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513AC0
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AC0#FFFFFF#000000##FFFFFF
##513AC01.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#115E79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513ac0;
/* rgb */ color: rgb(81, 58, 192);
/* oklch */ color: oklch(46.1% 0.198 283.3);
Tailwind
colors: {
  custom: {
    50: '#8e72d4',
    500: '#513ac0',
    950: '#000000',
  },
}
SCSS
$custom: #513ac0;
$custom-light: #8e72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#513ac0",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 250.299,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.19778,
    "h": 283.3
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#513AC0
secondary
#C0CA8B
accent
#DD4BC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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