#513BBF#513BBF

#513BBF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.195 H 283.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#513BBF
RGBrgb(81, 59, 191)
HSLhsl(250, 53%, 49%)
HSVhsv(250, 69%, 75%)
CMYKcmyk(57.6%, 69.1%, 0%, 25.1%)
CIE-LABlab(35.28, 45.27, -66.09)
CIE-LCHlch(35.28, 80.10, 304.41°)
OKLaboklab(46.16% 0.0448 -0.1902)
OKLCHoklch(46.16% 0.195 283.2)
XYZxyz(14.3584, 8.6379, 50.1908)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BBF #A9BF3B
analogous
#3B67BF #513BBF #933BBF
triadic
#513BBF #BF513B #3BBF51
tetradic
#513BBF #BF3B67 #A9BF3B #3BBF93
square
#513BBF #BF3B67 #A9BF3B #3BBF93
split-complementary
#513BBF #BF933B #67BF3B
monochromatic
#291E61 #3D2D90 #513BBF #7967D0 #A296DF

Accessibility & contrast

On white

7.70
#513BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#513BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BBF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BBF#FFFFFF#000000##FFFFFF
##513BBF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#145E78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513bbf;
/* rgb */ color: rgb(81, 59, 191);
/* oklch */ color: oklch(46.2% 0.195 283.2);
Tailwind
colors: {
  custom: {
    50: '#8d73d3',
    500: '#513bbf',
    950: '#000000',
  },
}
SCSS
$custom: #513bbf;
$custom-light: #8d73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513bbf",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 250,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.19542,
    "h": 283.2
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#513BBF
secondary
#C0CA8C
accent
#DC4CC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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