#513CB9#513CB9

#513CB9 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.187 H 283.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#513CB9
RGBrgb(81, 60, 185)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(56.2%, 67.6%, 0%, 27.5%)
CIE-LABlab(34.97, 42.87, -63.06)
CIE-LCHlch(34.97, 76.25, 304.21°)
OKLaboklab(45.78% 0.0448 -0.1814)
OKLCHoklch(45.78% 0.187 283.9)
XYZxyz(13.7635, 8.4830, 46.8017)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CB9 #A4B93C
analogous
#3C65B9 #513CB9 #8F3CB9
triadic
#513CB9 #B9513C #3CB951
tetradic
#513CB9 #B93C65 #A4B93C #3CB98F
square
#513CB9 #B93C65 #A4B93C #3CB98F
split-complementary
#513CB9 #B98F3C #65B93C
monochromatic
#291E5D #3D2D8B #513CB9 #7765CD #A093DC

Accessibility & contrast

On white

7.79
#513CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513CB9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CB9#FFFFFF#000000##FFFFFF
##513CB91.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#1E5C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513cb9;
/* rgb */ color: rgb(81, 60, 185);
/* oklch */ color: oklch(45.8% 0.187 283.9);
Tailwind
colors: {
  custom: {
    50: '#8c73cf',
    500: '#513cb9',
    950: '#000000',
  },
}
SCSS
$custom: #513cb9;
$custom-light: #8c73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#513cb9",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 250.08,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.18682,
    "h": 283.9
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#513CB9
secondary
#BDC789
accent
#DA4DC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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