#513571#513571

#513571 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.1% C 0.102 H 303.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#513571
RGBrgb(81, 53, 113)
HSLhsl(268, 36%, 33%)
HSVhsv(268, 53%, 44%)
CMYKcmyk(28.3%, 53.1%, 0%, 55.7%)
CIE-LABlab(28.08, 25.84, -30.14)
CIE-LCHlch(28.08, 39.70, 310.61°)
OKLaboklab(39.07% 0.0563 -0.0847)
OKLCHoklch(39.07% 0.102 303.6)
XYZxyz(7.6464, 5.4878, 16.2760)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513571 #557135
analogous
#353771 #513571 #6F3571
triadic
#513571 #715135 #357151
tetradic
#513571 #713537 #557135 #35716F
square
#513571 #713537 #557135 #35716F
split-complementary
#513571 #716F35 #377135
monochromatic
#150E1E #332147 #513571 #6F499B #8E68B8

Accessibility & contrast

On white

10.01
#513571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#513571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513571
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513571#FFFFFF#000000##FFFFFF
##5135711.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#4B404D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #513571;
/* rgb */ color: rgb(81, 53, 113);
/* oklch */ color: oklch(39.1% 0.102 303.6);
Tailwind
colors: {
  custom: {
    50: '#846d9a',
    500: '#513571',
    950: '#000000',
  },
}
SCSS
$custom: #513571;
$custom-light: #846d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#513571",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 268,
    "s": 36.145,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.10167,
    "h": 303.6
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#513571
secondary
#83A161
accent
#CC5C98
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #513571

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

Preview Lab → · Contrast checker → · Palette generator →

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