#513F79#513F79

#513F79 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.5% C 0.095 H 296.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#513F79
RGBrgb(81, 63, 121)
HSLhsl(259, 32%, 36%)
HSVhsv(259, 48%, 47%)
CMYKcmyk(33.1%, 47.9%, 0%, 52.5%)
CIE-LABlab(31.08, 21.73, -30.44)
CIE-LCHlch(31.08, 37.40, 305.52°)
OKLaboklab(41.46% 0.0423 -0.0856)
OKLCHoklch(41.46% 0.095 296.3)
XYZxyz(8.6212, 6.6847, 18.9215)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513F79 #67793F
analogous
#3F4A79 #513F79 #6E3F79
triadic
#513F79 #79513F #3F7951
tetradic
#513F79 #793F4A #67793F #3F796E
square
#513F79 #793F4A #67793F #3F796E
split-complementary
#513F79 #796E3F #4A793F
monochromatic
#1B1529 #362A51 #513F79 #6C54A1 #8D79B9

Accessibility & contrast

On white

8.99
#513F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#513F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513F79
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513F79#FFFFFF#000000##FFFFFF
##513F791.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#304878
Tritanopia (blue-blind)
#484A56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #513f79;
/* rgb */ color: rgb(81, 63, 121);
/* oklch */ color: oklch(41.5% 0.095 296.3);
Tailwind
colors: {
  custom: {
    50: '#8474a0',
    500: '#513f79',
    950: '#000000',
  },
}
SCSS
$custom: #513f79;
$custom-light: #8474a0;
$custom-dark: #000000;
JSON
{
  "hex": "#513f79",
  "rgb": {
    "r": 81,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 258.621,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.09545,
    "h": 296.3
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#513F79
secondary
#94A470
accent
#C860A8
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #513F79

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

Preview Lab → · Contrast checker → · Palette generator →

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