#513CB0#513CB0

#513CB0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.175 H 285.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#513CB0
RGBrgb(81, 60, 176)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 69%)
CMYKcmyk(54%, 65.9%, 0%, 31%)
CIE-LABlab(34.22, 40.11, -58.95)
CIE-LCHlch(34.22, 71.30, 304.23°)
OKLaboklab(45.01% 0.046 -0.1693)
OKLCHoklch(45.01% 0.175 285.2)
XYZxyz(12.8433, 8.1149, 41.9555)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CB0 #9BB03C
analogous
#3C61B0 #513CB0 #8B3CB0
triadic
#513CB0 #B0513C #3CB051
tetradic
#513CB0 #B03C61 #9BB03C #3CB08B
square
#513CB0 #B03C61 #9BB03C #3CB08B
split-complementary
#513CB0 #B08B3C #61B03C
monochromatic
#271D55 #3C2C82 #513CB0 #7360C9 #9B8ED8

Accessibility & contrast

On white

8.01
#513CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#513CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CB0
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CB0#FFFFFF#000000##FFFFFF
##513CB01.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#295970
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #513cb0;
/* rgb */ color: rgb(81, 60, 176);
/* oklch */ color: oklch(45.0% 0.175 285.2);
Tailwind
colors: {
  custom: {
    50: '#8b73c8',
    500: '#513cb0',
    950: '#000000',
  },
}
SCSS
$custom: #513cb0;
$custom-light: #8b73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#513cb0",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 250.862,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.17544,
    "h": 285.2
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#513CB0
secondary
#B8C385
accent
#D94FC0
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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