#513A67#513A67

#513A67 is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.4% C 0.078 H 306.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#513A67
RGBrgb(81, 58, 103)
HSLhsl(271, 28%, 32%)
HSVhsv(271, 44%, 40%)
CMYKcmyk(21.4%, 43.7%, 0%, 59.6%)
CIE-LABlab(28.79, 20.02, -22.64)
CIE-LCHlch(28.79, 30.22, 311.48°)
OKLaboklab(39.42% 0.0468 -0.0629)
OKLCHoklch(39.42% 0.078 306.7)
XYZxyz(7.3541, 5.7548, 13.5527)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513A67 #50673A
analogous
#3B3A67 #513A67 #673A67
triadic
#513A67 #67513A #3A6751
tetradic
#513A67 #673B3A #50673A #3A6767
square
#513A67 #673B3A #50673A #3A6767
split-complementary
#513A67 #67673A #3A673B
monochromatic
#130E19 #322440 #513A67 #70508E #8E6EAD

Accessibility & contrast

On white

9.76
#513A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#513A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513A67
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513A67#FFFFFF#000000##FFFFFF
##513A671.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304369
Deuteranopia (green-blind)
#354466
Tritanopia (blue-blind)
#4E414B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #513a67;
/* rgb */ color: rgb(81, 58, 103);
/* oklch */ color: oklch(39.4% 0.078 306.7);
Tailwind
colors: {
  custom: {
    50: '#837092',
    500: '#513a67',
    950: '#000000',
  },
}
SCSS
$custom: #513a67;
$custom-light: #837092;
$custom-dark: #000000;
JSON
{
  "hex": "#513a67",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 270.667,
    "s": 27.95,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39415,
    "c": 0.07844,
    "h": 306.7
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#513A67
secondary
#7E9766
accent
#C46493
background
#F8F6F9
surface
#EFECF1
border
#CAC7CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #513A67

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

Preview Lab → · Contrast checker → · Palette generator →

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