#513CB3#513CB3

#513CB3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.179 H 284.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#513CB3
RGBrgb(81, 60, 179)
HSLhsl(251, 50%, 47%)
HSVhsv(251, 66%, 70%)
CMYKcmyk(54.7%, 66.5%, 0%, 29.8%)
CIE-LABlab(34.47, 41.03, -60.33)
CIE-LCHlch(34.47, 72.96, 304.22°)
OKLaboklab(45.26% 0.0457 -0.1733)
OKLCHoklch(45.26% 0.179 284.8)
XYZxyz(13.1434, 8.2350, 43.5360)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513CB3 #9EB33C
analogous
#3C63B3 #513CB3 #8D3CB3
triadic
#513CB3 #B3513C #3CB351
tetradic
#513CB3 #B33C63 #9EB33C #3CB38D
square
#513CB3 #B33C63 #9EB33C #3CB38D
split-complementary
#513CB3 #B38D3C #63B33C
monochromatic
#281D57 #3C2D85 #513CB3 #7462CA #9D90DA

Accessibility & contrast

On white

7.93
#513CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#513CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513CB3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513CB3#FFFFFF#000000##FFFFFF
##513CB31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#265A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #513cb3;
/* rgb */ color: rgb(81, 60, 179);
/* oklch */ color: oklch(45.3% 0.179 284.8);
Tailwind
colors: {
  custom: {
    50: '#8b73cb',
    500: '#513cb3',
    950: '#000000',
  },
}
SCSS
$custom: #513cb3;
$custom-light: #8b73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#513cb3",
  "rgb": {
    "r": 81,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 250.588,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4526,
    "c": 0.17925,
    "h": 284.8
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#513CB3
secondary
#BAC586
accent
#D94EC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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