#513685#513685

#513685 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.6% C 0.127 H 296.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#513685
RGBrgb(81, 54, 133)
HSLhsl(261, 42%, 37%)
HSVhsv(261, 59%, 52%)
CMYKcmyk(39.1%, 59.4%, 0%, 47.8%)
CIE-LABlab(29.62, 30.81, -40.27)
CIE-LCHlch(29.62, 50.71, 307.42°)
OKLaboklab(40.62% 0.0558 -0.1144)
OKLCHoklch(40.62% 0.127 296)
XYZxyz(8.9451, 6.0810, 22.8882)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513685 #6A8536
analogous
#364385 #513685 #793685
triadic
#513685 #855136 #368551
tetradic
#513685 #853643 #6A8536 #368579
square
#513685 #853643 #6A8536 #368579
split-complementary
#513685 #857936 #438536
monochromatic
#1C132E #362459 #513685 #6C48B1 #8D70C5

Accessibility & contrast

On white

9.48
#513685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#513685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513685
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513685#FFFFFF#000000##FFFFFF
##5136851.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#174583
Tritanopia (blue-blind)
#444758
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #513685;
/* rgb */ color: rgb(81, 54, 133);
/* oklch */ color: oklch(40.6% 0.127 296.0);
Tailwind
colors: {
  custom: {
    50: '#856ea9',
    500: '#513685',
    950: '#000000',
  },
}
SCSS
$custom: #513685;
$custom-light: #856ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#513685",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 260.506,
    "s": 42.246,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40622,
    "c": 0.12726,
    "h": 296
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#513685
secondary
#96AE69
accent
#D256A8
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #513685

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

Preview Lab → · Contrast checker → · Palette generator →

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