#513596#513596

#513596 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.151 H 291.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#513596
RGBrgb(81, 53, 150)
HSLhsl(257, 48%, 40%)
HSVhsv(257, 65%, 59%)
CMYKcmyk(46%, 64.7%, 0%, 41.2%)
CIE-LABlab(30.63, 36.36, -49.11)
CIE-LCHlch(30.63, 61.11, 306.52°)
OKLaboklab(41.76% 0.0562 -0.1404)
OKLCHoklch(41.76% 0.151 291.8)
XYZxyz(10.1699, 6.4972, 29.5665)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513596 #7A9635
analogous
#354996 #513596 #823596
triadic
#513596 #965135 #359651
tetradic
#513596 #963549 #7A9635 #359682
square
#513596 #963549 #7A9635 #359682
split-complementary
#513596 #968235 #499635
monochromatic
#20153C #392569 #513596 #6B49BF #9077CF

Accessibility & contrast

On white

9.13
#513596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#513596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513596
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513596#FFFFFF#000000##FFFFFF
##5135961.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#3D4C60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #513596;
/* rgb */ color: rgb(81, 53, 150);
/* oklch */ color: oklch(41.8% 0.151 291.8);
Tailwind
colors: {
  custom: {
    50: '#886eb6',
    500: '#513596',
    950: '#000000',
  },
}
SCSS
$custom: #513596;
$custom-light: #886eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#513596",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 257.32,
    "s": 47.783,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.15119,
    "h": 291.8
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#513596
secondary
#A3B76F
accent
#D750B0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513596

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

Preview Lab → · Contrast checker → · Palette generator →

#513596 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva