#513585#513585

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

Color values

HEX#513585
RGBrgb(81, 53, 133)
HSLhsl(261, 43%, 36%)
HSVhsv(261, 60%, 52%)
CMYKcmyk(39.1%, 60.2%, 0%, 47.8%)
CIE-LABlab(29.38, 31.42, -40.64)
CIE-LCHlch(29.38, 51.37, 307.71°)
OKLaboklab(40.45% 0.0571 -0.1155)
OKLCHoklch(40.45% 0.129 296.3)
XYZxyz(8.8990, 5.9888, 22.8729)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513585 #698535
analogous
#354185 #513585 #793585
triadic
#513585 #855135 #358551
tetradic
#513585 #853541 #698535 #358579
square
#513585 #853541 #698535 #358579
split-complementary
#513585 #857935 #418535
monochromatic
#1C122D #362459 #513585 #6C46B1 #8D6FC6

Accessibility & contrast

On white

9.56
#513585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#513585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513585
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513585#FFFFFF#000000##FFFFFF
##5135851.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#154483
Tritanopia (blue-blind)
#444657
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #513585;
/* rgb */ color: rgb(81, 53, 133);
/* oklch */ color: oklch(40.5% 0.129 296.3);
Tailwind
colors: {
  custom: {
    50: '#866da9',
    500: '#513585',
    950: '#000000',
  },
}
SCSS
$custom: #513585;
$custom-light: #866da9;
$custom-dark: #000000;
JSON
{
  "hex": "#513585",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 261,
    "s": 43.011,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40453,
    "c": 0.12882,
    "h": 296.3
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#513585
secondary
#95AE68
accent
#D355A7
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #513585

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

Preview Lab → · Contrast checker → · Palette generator →

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