#513CB6#513CB6

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

Color values

HEX#513CB6
RGBrgb(81, 60, 182)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 67%, 71%)
CMYKcmyk(55.5%, 67%, 0%, 28.6%)
CIE-LABlab(34.72, 41.95, -61.70)
CIE-LCHlch(34.72, 74.61, 304.21°)
OKLaboklab(45.52% 0.0453 -0.1774)
OKLCHoklch(45.52% 0.183 284.3)
XYZxyz(13.4501, 8.3577, 45.1514)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CB6 #A1B63C
analogous
#3C64B6 #513CB6 #8E3CB6
triadic
#513CB6 #B6513C #3CB651
tetradic
#513CB6 #B63C64 #A1B63C #3CB68E
square
#513CB6 #B63C64 #A1B63C #3CB68E
split-complementary
#513CB6 #B68E3C #64B63C
monochromatic
#281E5A #3D2D88 #513CB6 #7563CC #9E91DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##513CB6#FFFFFF#000000##FFFFFF
##513CB61.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)
#0055BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#225B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #513cb6;
/* rgb */ color: rgb(81, 60, 182);
/* oklch */ color: oklch(45.5% 0.183 284.3);
Tailwind
colors: {
  custom: {
    50: '#8c73cd',
    500: '#513cb6',
    950: '#000000',
  },
}
SCSS
$custom: #513cb6;
$custom-light: #8c73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#513cb6",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 250.328,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.18304,
    "h": 284.3
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#513CB6
secondary
#BBC688
accent
#DA4EC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #513CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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