#513B86#513B86

#513B86 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.6% C 0.121 H 294.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#513B86
RGBrgb(81, 59, 134)
HSLhsl(258, 39%, 38%)
HSVhsv(258, 56%, 53%)
CMYKcmyk(39.6%, 56%, 0%, 47.5%)
CIE-LABlab(30.87, 28.02, -38.87)
CIE-LCHlch(30.87, 47.92, 305.79°)
OKLaboklab(41.57% 0.0492 -0.1103)
OKLCHoklch(41.57% 0.121 294)
XYZxyz(9.2592, 6.5983, 23.3354)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513B86 #70863B
analogous
#3B4A86 #513B86 #763B86
triadic
#513B86 #86513B #3B8651
tetradic
#513B86 #863B4A #70863B #3B8676
square
#513B86 #863B4A #70863B #3B8676
split-complementary
#513B86 #86763B #4A863B
monochromatic
#1E1631 #37285C #513B86 #6B4EB0 #8E78C4

Accessibility & contrast

On white

9.05
#513B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#513B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513B86
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513B86#FFFFFF#000000##FFFFFF
##513B861.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194989
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#444B5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #513b86;
/* rgb */ color: rgb(81, 59, 134);
/* oklch */ color: oklch(41.6% 0.121 294.0);
Tailwind
colors: {
  custom: {
    50: '#8571aa',
    500: '#513b86',
    950: '#000000',
  },
}
SCSS
$custom: #513b86;
$custom-light: #8571aa;
$custom-dark: #000000;
JSON
{
  "hex": "#513b86",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 257.6,
    "s": 38.86,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.12073,
    "h": 294
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#513B86
secondary
#9BAD70
accent
#CF59AC
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #513B86

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

Preview Lab → · Contrast checker → · Palette generator →

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