#513ABE#513ABE

#513ABE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.195 H 283.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#513ABE
RGBrgb(81, 58, 190)
HSLhsl(250, 53%, 49%)
HSVhsv(250, 69%, 75%)
CMYKcmyk(57.4%, 69.5%, 0%, 25.5%)
CIE-LABlab(34.99, 45.52, -65.97)
CIE-LCHlch(34.99, 80.15, 304.61°)
OKLaboklab(45.92% 0.0458 -0.1899)
OKLCHoklch(45.92% 0.195 283.5)
XYZxyz(14.1978, 8.4923, 49.5962)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ABE #A7BE3A
analogous
#3A65BE #513ABE #933ABE
triadic
#513ABE #BE513A #3ABE51
tetradic
#513ABE #BE3A65 #A7BE3A #3ABE93
square
#513ABE #BE3A65 #A7BE3A #3ABE93
split-complementary
#513ABE #BE933A #65BE3A
monochromatic
#291D60 #3D2C8F #513ABE #7865D0 #A194DE

Accessibility & contrast

On white

7.78
#513ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#513ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ABE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ABE#FFFFFF#000000##FFFFFF
##513ABE1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#165D77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513abe;
/* rgb */ color: rgb(81, 58, 190);
/* oklch */ color: oklch(45.9% 0.195 283.5);
Tailwind
colors: {
  custom: {
    50: '#8d72d3',
    500: '#513abe',
    950: '#000000',
  },
}
SCSS
$custom: #513abe;
$custom-light: #8d72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#513abe",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 250.455,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.19534,
    "h": 283.5
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#513ABE
secondary
#BFCA8A
accent
#DD4BC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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