#513E79#513E79

#513E79 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.3% C 0.097 H 296.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#513E79
RGBrgb(81, 62, 121)
HSLhsl(259, 32%, 36%)
HSVhsv(259, 49%, 47%)
CMYKcmyk(33.1%, 48.8%, 0%, 52.5%)
CIE-LABlab(30.82, 22.37, -30.85)
CIE-LCHlch(30.82, 38.11, 305.95°)
OKLaboklab(41.27% 0.0438 -0.0868)
OKLCHoklch(41.27% 0.097 296.8)
XYZxyz(8.5663, 6.5749, 18.9032)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513E79 #66793E
analogous
#3E4879 #513E79 #6E3E79
triadic
#513E79 #79513E #3E7951
tetradic
#513E79 #793E48 #66793E #3E796E
square
#513E79 #793E48 #66793E #3E796E
split-complementary
#513E79 #796E3E #48793E
monochromatic
#1B1528 #362951 #513E79 #6C53A1 #8D78BA

Accessibility & contrast

On white

9.07
#513E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513E79
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513E79#FFFFFF#000000##FFFFFF
##513E791.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#484955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #513e79;
/* rgb */ color: rgb(81, 62, 121);
/* oklch */ color: oklch(41.3% 0.097 296.8);
Tailwind
colors: {
  custom: {
    50: '#8473a0',
    500: '#513e79',
    950: '#000000',
  },
}
SCSS
$custom: #513e79;
$custom-light: #8473a0;
$custom-dark: #000000;
JSON
{
  "hex": "#513e79",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 259.322,
    "s": 32.24,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.09719,
    "h": 296.8
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#513E79
secondary
#93A46F
accent
#C85FA7
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #513E79

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

Preview Lab → · Contrast checker → · Palette generator →

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