#513697#513697

#513697 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.151 H 291.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#513697
RGBrgb(81, 54, 151)
HSLhsl(257, 47%, 40%)
HSVhsv(257, 64%, 59%)
CMYKcmyk(46.4%, 64.2%, 0%, 40.8%)
CIE-LABlab(30.93, 36.07, -49.24)
CIE-LCHlch(30.93, 61.04, 306.23°)
OKLaboklab(42% 0.0549 -0.1407)
OKLCHoklch(42% 0.151 291.3)
XYZxyz(10.2969, 6.6217, 30.0077)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513697 #7C9736
analogous
#364B97 #513697 #813697
triadic
#513697 #975136 #369751
tetradic
#513697 #97364B #7C9736 #369781
square
#513697 #97364B #7C9736 #369781
split-complementary
#513697 #978136 #4B9736
monochromatic
#21163D #39266A #513697 #6C4BBF #9178CF

Accessibility & contrast

On white

9.03
#513697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#513697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513697
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513697#FFFFFF#000000##FFFFFF
##5136971.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#3C4D61
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #513697;
/* rgb */ color: rgb(81, 54, 151);
/* oklch */ color: oklch(42.0% 0.151 291.3);
Tailwind
colors: {
  custom: {
    50: '#886eb6',
    500: '#513697',
    950: '#000000',
  },
}
SCSS
$custom: #513697;
$custom-light: #886eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#513697",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 256.701,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41999,
    "c": 0.15109,
    "h": 291.3
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#513697
secondary
#A4B871
accent
#D751B2
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513697

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

Preview Lab → · Contrast checker → · Palette generator →

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