#513B60#513B60

#513B60 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.2% C 0.067 H 310.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#513B60
RGBrgb(81, 59, 96)
HSLhsl(276, 24%, 30%)
HSVhsv(276, 39%, 38%)
CMYKcmyk(15.6%, 38.5%, 0%, 62.4%)
CIE-LABlab(28.70, 17.59, -18.27)
CIE-LCHlch(28.70, 25.37, 313.91°)
OKLaboklab(39.24% 0.0435 -0.0504)
OKLCHoklch(39.24% 0.067 310.8)
XYZxyz(7.0683, 5.7219, 11.7961)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513B60 #4A603B
analogous
#3E3B60 #513B60 #603B5C
triadic
#513B60 #60513B #3B6051
tetradic
#513B60 #603E3B #4A603B #3B5C60
square
#513B60 #603E3B #4A603B #3B5C60
split-complementary
#513B60 #5C603B #3B603E
monochromatic
#110C14 #31243A #513B60 #715286 #906FA6

Accessibility & contrast

On white

9.79
#513B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#513B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513B60
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513B60#FFFFFF#000000##FFFFFF
##513B601.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344361
Deuteranopia (green-blind)
#39445F
Tritanopia (blue-blind)
#4F4049
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #513b60;
/* rgb */ color: rgb(81, 59, 96);
/* oklch */ color: oklch(39.2% 0.067 310.8);
Tailwind
colors: {
  custom: {
    50: '#82718d',
    500: '#513b60',
    950: '#000000',
  },
}
SCSS
$custom: #513b60;
$custom-light: #82718d;
$custom-dark: #000000;
JSON
{
  "hex": "#513b60",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 96
  },
  "hsl": {
    "h": 275.676,
    "s": 23.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.06655,
    "h": 310.8
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#513B60
secondary
#779067
accent
#C0678B
background
#F8F6F8
surface
#EFECF0
border
#CAC7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #513B60

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

Preview Lab → · Contrast checker → · Palette generator →

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