#513BB9#513BB9

#513BB9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.188 H 284.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#513BB9
RGBrgb(81, 59, 185)
HSLhsl(250, 52%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(56.2%, 68.1%, 0%, 27.5%)
CIE-LABlab(34.76, 43.44, -63.40)
CIE-LCHlch(34.76, 76.85, 304.42°)
OKLaboklab(45.63% 0.0457 -0.1824)
OKLCHoklch(45.63% 0.188 284.1)
XYZxyz(13.7116, 8.3792, 46.7844)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BB9 #A3B93B
analogous
#3B64B9 #513BB9 #903BB9
triadic
#513BB9 #B9513B #3BB951
tetradic
#513BB9 #B93B64 #A3B93B #3BB990
square
#513BB9 #B93B64 #A3B93B #3BB990
split-complementary
#513BB9 #B9903B #64B93B
monochromatic
#281D5C #3D2C8B #513BB9 #7664CD #9F92DC

Accessibility & contrast

On white

7.85
#513BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513BB9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BB9#FFFFFF#000000##FFFFFF
##513BB91.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #513bb9;
/* rgb */ color: rgb(81, 59, 185);
/* oklch */ color: oklch(45.6% 0.188 284.1);
Tailwind
colors: {
  custom: {
    50: '#8c73cf',
    500: '#513bb9',
    950: '#000000',
  },
}
SCSS
$custom: #513bb9;
$custom-light: #8c73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#513bb9",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 250.476,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.188,
    "h": 284.1
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#513BB9
secondary
#BCC788
accent
#DB4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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