#513ABA#513ABA

#513ABA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.190 H 284.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#513ABA
RGBrgb(81, 58, 186)
HSLhsl(251, 52%, 48%)
HSVhsv(251, 69%, 73%)
CMYKcmyk(56.5%, 68.8%, 0%, 27.1%)
CIE-LABlab(34.64, 44.31, -64.19)
CIE-LCHlch(34.64, 77.99, 304.62°)
OKLaboklab(45.57% 0.0464 -0.1847)
OKLCHoklch(45.57% 0.19 284.1)
XYZxyz(13.7666, 8.3198, 47.3253)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ABA #A3BA3A
analogous
#3A63BA #513ABA #913ABA
triadic
#513ABA #BA513A #3ABA51
tetradic
#513ABA #BA3A63 #A3BA3A #3ABA91
square
#513ABA #BA3A63 #A3BA3A #3ABA91
split-complementary
#513ABA #BA913A #63BA3A
monochromatic
#281D5D #3D2B8B #513ABA #7663CE #9F92DD

Accessibility & contrast

On white

7.88
#513ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#513ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ABA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ABA#FFFFFF#000000##FFFFFF
##513ABA1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#1D5B75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #513aba;
/* rgb */ color: rgb(81, 58, 186);
/* oklch */ color: oklch(45.6% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#8d72d0',
    500: '#513aba',
    950: '#000000',
  },
}
SCSS
$custom: #513aba;
$custom-light: #8d72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#513aba",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 250.781,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.19041,
    "h": 284.1
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#513ABA
secondary
#BCC888
accent
#DC4CC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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