#513ABC#513ABC

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

Color values

HEX#513ABC
RGBrgb(81, 58, 188)
HSLhsl(251, 53%, 48%)
HSVhsv(251, 69%, 74%)
CMYKcmyk(56.9%, 69.1%, 0%, 26.3%)
CIE-LABlab(34.81, 44.91, -65.08)
CIE-LCHlch(34.81, 79.08, 304.61°)
OKLaboklab(45.75% 0.0461 -0.1873)
OKLCHoklch(45.75% 0.193 283.8)
XYZxyz(13.9807, 8.4054, 48.4529)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ABC #A5BC3A
analogous
#3A64BC #513ABC #923ABC
triadic
#513ABC #BC513A #3ABC51
tetradic
#513ABC #BC3A64 #A5BC3A #3ABC92
square
#513ABC #BC3A64 #A5BC3A #3ABC92
split-complementary
#513ABC #BC923A #64BC3A
monochromatic
#291D5E #3D2C8D #513ABC #7764CF #A093DE

Accessibility & contrast

On white

7.83
#513ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#513ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513ABC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ABC#FFFFFF#000000##FFFFFF
##513ABC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#1A5C76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513abc;
/* rgb */ color: rgb(81, 58, 188);
/* oklch */ color: oklch(45.7% 0.193 283.8);
Tailwind
colors: {
  custom: {
    50: '#8d72d1',
    500: '#513abc',
    950: '#000000',
  },
}
SCSS
$custom: #513abc;
$custom-light: #8d72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#513abc",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 250.615,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.19288,
    "h": 283.8
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#513ABC
secondary
#BDC989
accent
#DC4CC3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #513ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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