#513ABB#513ABB

#513ABB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.192 H 284.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#513ABB
RGBrgb(81, 58, 187)
HSLhsl(251, 53%, 48%)
HSVhsv(251, 69%, 73%)
CMYKcmyk(56.7%, 69%, 0%, 26.7%)
CIE-LABlab(34.73, 44.61, -64.64)
CIE-LCHlch(34.73, 78.54, 304.61°)
OKLaboklab(45.66% 0.0463 -0.186)
OKLCHoklch(45.66% 0.192 284)
XYZxyz(13.8733, 8.3625, 47.8871)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ABB #A4BB3A
analogous
#3A63BB #513ABB #923ABB
triadic
#513ABB #BB513A #3ABB51
tetradic
#513ABB #BB3A63 #A4BB3A #3ABB92
square
#513ABB #BB3A63 #A4BB3A #3ABB92
split-complementary
#513ABB #BB923A #63BB3A
monochromatic
#291D5E #3D2C8C #513ABB #7763CF #A092DD

Accessibility & contrast

On white

7.86
#513ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#513ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ABB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ABB#FFFFFF#000000##FFFFFF
##513ABB1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#1B5C76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513abb;
/* rgb */ color: rgb(81, 58, 187);
/* oklch */ color: oklch(45.7% 0.192 284.0);
Tailwind
colors: {
  custom: {
    50: '#8d72d0',
    500: '#513abb',
    950: '#000000',
  },
}
SCSS
$custom: #513abb;
$custom-light: #8d72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#513abb",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 250.698,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.19165,
    "h": 284
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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