#513E89#513E89

#513E89 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.3% C 0.120 H 292.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#513E89
RGBrgb(81, 62, 137)
HSLhsl(255, 38%, 39%)
HSVhsv(255, 55%, 54%)
CMYKcmyk(40.9%, 54.7%, 0%, 46.3%)
CIE-LABlab(31.81, 27.03, -39.23)
CIE-LCHlch(31.81, 47.64, 304.57°)
OKLaboklab(42.33% 0.0453 -0.1113)
OKLCHoklch(42.33% 0.12 292.1)
XYZxyz(9.6301, 7.0005, 24.5059)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513E89 #76893E
analogous
#3E5189 #513E89 #773E89
triadic
#513E89 #89513E #3E8951
tetradic
#513E89 #893E51 #76893E #3E8977
square
#513E89 #893E51 #76893E #3E8977
split-complementary
#513E89 #89773E #51893E
monochromatic
#1F1835 #382B5F #513E89 #6B53B1 #8F7DC4

Accessibility & contrast

On white

8.75
#513E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#513E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513E89
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513E89#FFFFFF#000000##FFFFFF
##513E891.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#204987
Tritanopia (blue-blind)
#424E5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #513e89;
/* rgb */ color: rgb(81, 62, 137);
/* oklch */ color: oklch(42.3% 0.120 292.1);
Tailwind
colors: {
  custom: {
    50: '#8574ac',
    500: '#513e89',
    950: '#000000',
  },
}
SCSS
$custom: #513e89;
$custom-light: #8574ac;
$custom-dark: #000000;
JSON
{
  "hex": "#513e89",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 255.2,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.12018,
    "h": 292.1
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#513E89
secondary
#A0AE74
accent
#CE5AB0
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #513E89

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

Preview Lab → · Contrast checker → · Palette generator →

#513E89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva