#513AB0#513AB0

#513AB0 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.178 H 285.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#513AB0
RGBrgb(81, 58, 176)
HSLhsl(252, 50%, 46%)
HSVhsv(252, 67%, 69%)
CMYKcmyk(54%, 67%, 0%, 31%)
CIE-LABlab(33.79, 41.26, -59.65)
CIE-LCHlch(33.79, 72.53, 304.68°)
OKLaboklab(44.7% 0.0479 -0.1713)
OKLCHoklch(44.7% 0.178 285.6)
XYZxyz(12.7405, 7.9093, 41.9212)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AB0 #99B03A
analogous
#3A5EB0 #513AB0 #8C3AB0
triadic
#513AB0 #B0513A #3AB051
tetradic
#513AB0 #B03A5E #99B03A #3AB08C
square
#513AB0 #B03A5E #99B03A #3AB08C
split-complementary
#513AB0 #B08C3A #5EB03A
monochromatic
#271C54 #3C2B82 #513AB0 #735DCA #9B8BD9

Accessibility & contrast

On white

8.13
#513AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#513AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513AB0
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AB0#FFFFFF#000000##FFFFFF
##513AB01.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#295870
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #513ab0;
/* rgb */ color: rgb(81, 58, 176);
/* oklch */ color: oklch(44.7% 0.178 285.6);
Tailwind
colors: {
  custom: {
    50: '#8b72c9',
    500: '#513ab0',
    950: '#000000',
  },
}
SCSS
$custom: #513ab0;
$custom-light: #8b72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#513ab0",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 251.695,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.17792,
    "h": 285.6
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#513AB0
secondary
#B7C382
accent
#DA4EBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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