#513BBD#513BBD

#513BBD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.193 H 283.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#513BBD
RGBrgb(81, 59, 189)
HSLhsl(250, 52%, 49%)
HSVhsv(250, 69%, 74%)
CMYKcmyk(57.1%, 68.8%, 0%, 25.9%)
CIE-LABlab(35.10, 44.66, -65.20)
CIE-LCHlch(35.10, 79.02, 304.41°)
OKLaboklab(45.98% 0.0451 -0.1876)
OKLCHoklch(45.98% 0.193 283.5)
XYZxyz(14.1398, 8.5505, 49.0396)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BBD #A7BD3B
analogous
#3B66BD #513BBD #923BBD
triadic
#513BBD #BD513B #3BBD51
tetradic
#513BBD #BD3B66 #A7BD3B #3BBD92
square
#513BBD #BD3B66 #A7BD3B #3BBD92
split-complementary
#513BBD #BD923B #66BD3B
monochromatic
#291E60 #3D2C8E #513BBD #7866CF #A195DE

Accessibility & contrast

On white

7.75
#513BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#513BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BBD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BBD#FFFFFF#000000##FFFFFF
##513BBD1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#185D77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513bbd;
/* rgb */ color: rgb(81, 59, 189);
/* oklch */ color: oklch(46.0% 0.193 283.5);
Tailwind
colors: {
  custom: {
    50: '#8d73d2',
    500: '#513bbd',
    950: '#000000',
  },
}
SCSS
$custom: #513bbd;
$custom-light: #8d73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#513bbd",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 250.154,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.19296,
    "h": 283.5
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#513BBD
secondary
#BFC98B
accent
#DC4CC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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