#513673#513673

#513673 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.103 H 302.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#513673
RGBrgb(81, 54, 115)
HSLhsl(267, 36%, 33%)
HSVhsv(267, 53%, 45%)
CMYKcmyk(29.6%, 53%, 0%, 54.9%)
CIE-LABlab(28.45, 25.76, -30.83)
CIE-LCHlch(28.45, 40.17, 309.88°)
OKLaboklab(39.38% 0.055 -0.0867)
OKLCHoklch(39.38% 0.103 302.4)
XYZxyz(7.8063, 5.6255, 16.8909)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513673 #587336
analogous
#363973 #513673 #6F3673
triadic
#513673 #735136 #367351
tetradic
#513673 #733639 #587336 #36736F
square
#513673 #733639 #587336 #36736F
split-complementary
#513673 #736F36 #397336
monochromatic
#160F20 #342249 #513673 #6E4A9D #8D6AB9

Accessibility & contrast

On white

9.88
#513673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#513673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513673
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513673#FFFFFF#000000##FFFFFF
##5136731.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224375
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#4B414F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #513673;
/* rgb */ color: rgb(81, 54, 115);
/* oklch */ color: oklch(39.4% 0.103 302.4);
Tailwind
colors: {
  custom: {
    50: '#846e9b',
    500: '#513673',
    950: '#000000',
  },
}
SCSS
$custom: #513673;
$custom-light: #846e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#513673",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 115
  },
  "hsl": {
    "h": 266.557,
    "s": 36.095,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.10265,
    "h": 302.4
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#513673
secondary
#86A263
accent
#CC5C9A
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #513673

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

Preview Lab → · Contrast checker → · Palette generator →

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