#513385#513385

#513385 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.132 H 296.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#513385
RGBrgb(81, 51, 133)
HSLhsl(262, 45%, 36%)
HSVhsv(262, 62%, 52%)
CMYKcmyk(39.1%, 61.7%, 0%, 47.8%)
CIE-LABlab(28.93, 32.62, -41.38)
CIE-LCHlch(28.93, 52.69, 308.25°)
OKLaboklab(40.12% 0.0597 -0.1176)
OKLCHoklch(40.12% 0.132 296.9)
XYZxyz(8.8097, 5.8103, 22.8431)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513385 #678533
analogous
#333E85 #513385 #7A3385
triadic
#513385 #855133 #338551
tetradic
#513385 #85333E #678533 #33857A
square
#513385 #85333E #678533 #33857A
split-complementary
#513385 #857A33 #3E8533
monochromatic
#1B112D #362259 #513385 #6C44B1 #8D6CC7

Accessibility & contrast

On white

9.71
#513385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#513385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513385
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513385#FFFFFF#000000##FFFFFF
##5133851.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#104383
Tritanopia (blue-blind)
#454557
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #513385;
/* rgb */ color: rgb(81, 51, 133);
/* oklch */ color: oklch(40.1% 0.132 296.9);
Tailwind
colors: {
  custom: {
    50: '#866ca9',
    500: '#513385',
    950: '#000000',
  },
}
SCSS
$custom: #513385;
$custom-light: #866ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#513385",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 261.951,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.1319,
    "h": 296.9
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#513385
secondary
#94AE65
accent
#D454A5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #513385

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

Preview Lab → · Contrast checker → · Palette generator →

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