#513BB0#513BB0

#513BB0 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.177 H 285.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#513BB0
RGBrgb(81, 59, 176)
HSLhsl(251, 50%, 46%)
HSVhsv(251, 66%, 69%)
CMYKcmyk(54%, 66.5%, 0%, 31%)
CIE-LABlab(34.01, 40.69, -59.30)
CIE-LCHlch(34.01, 71.91, 304.45°)
OKLaboklab(44.85% 0.047 -0.1703)
OKLCHoklch(44.85% 0.177 285.4)
XYZxyz(12.7914, 8.0112, 41.9382)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513BB0 #9AB03B
analogous
#3B5FB0 #513BB0 #8B3BB0
triadic
#513BB0 #B0513B #3BB051
tetradic
#513BB0 #B03B5F #9AB03B #3BB08B
square
#513BB0 #B03B5F #9AB03B #3BB08B
split-complementary
#513BB0 #B08B3B #5FB03B
monochromatic
#271C54 #3C2C82 #513BB0 #735FC9 #9B8DD9

Accessibility & contrast

On white

8.07
#513BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#513BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513BB0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513BB0#FFFFFF#000000##FFFFFF
##513BB01.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#295870
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #513bb0;
/* rgb */ color: rgb(81, 59, 176);
/* oklch */ color: oklch(44.9% 0.177 285.4);
Tailwind
colors: {
  custom: {
    50: '#8b72c9',
    500: '#513bb0',
    950: '#000000',
  },
}
SCSS
$custom: #513bb0;
$custom-light: #8b72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#513bb0",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 251.282,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.17668,
    "h": 285.4
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#513BB0
secondary
#B7C383
accent
#D94EBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #513BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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