#513683#513683

#513683 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.125 H 296.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#513683
RGBrgb(81, 54, 131)
HSLhsl(261, 42%, 36%)
HSVhsv(261, 59%, 51%)
CMYKcmyk(38.2%, 58.8%, 0%, 48.6%)
CIE-LABlab(29.48, 30.24, -39.25)
CIE-LCHlch(29.48, 49.54, 307.61°)
OKLaboklab(40.48% 0.0558 -0.1114)
OKLCHoklch(40.48% 0.125 296.6)
XYZxyz(8.8082, 6.0262, 22.1674)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513683 #688336
analogous
#364283 #513683 #783683
triadic
#513683 #835136 #368351
tetradic
#513683 #833642 #688336 #368378
square
#513683 #833642 #688336 #368378
split-complementary
#513683 #837836 #428336
monochromatic
#1B122C #362458 #513683 #6C48AE #8D70C4

Accessibility & contrast

On white

9.52
#513683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#513683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513683
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513683#FFFFFF#000000##FFFFFF
##5136831.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4686
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#454657
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #513683;
/* rgb */ color: rgb(81, 54, 131);
/* oklch */ color: oklch(40.5% 0.125 296.6);
Tailwind
colors: {
  custom: {
    50: '#856ea7',
    500: '#513683',
    950: '#000000',
  },
}
SCSS
$custom: #513683;
$custom-light: #856ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#513683",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 261.039,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40478,
    "c": 0.12455,
    "h": 296.6
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#513683
secondary
#95AC68
accent
#D156A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #513683

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

Preview Lab → · Contrast checker → · Palette generator →

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