#513490#513490

#513490 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.145 H 293.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#513490
RGBrgb(81, 52, 144)
HSLhsl(259, 47%, 38%)
HSVhsv(259, 64%, 56%)
CMYKcmyk(43.8%, 63.9%, 0%, 43.5%)
CIE-LABlab(29.96, 35.20, -46.52)
CIE-LCHlch(29.96, 58.34, 307.11°)
OKLaboklab(41.13% 0.0578 -0.1328)
OKLCHoklch(41.13% 0.145 293.5)
XYZxyz(9.6540, 6.2187, 27.0718)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513490 #739034
analogous
#344590 #513490 #7F3490
triadic
#513490 #905134 #349051
tetradic
#513490 #903445 #739034 #34907F
square
#513490 #903445 #739034 #34907F
split-complementary
#513490 #907F34 #459034
monochromatic
#1E1436 #382463 #513490 #6B45BC #8F72CC

Accessibility & contrast

On white

9.36
#513490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#513490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513490
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513490#FFFFFF#000000##FFFFFF
##5134901.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#40495D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #513490;
/* rgb */ color: rgb(81, 52, 144);
/* oklch */ color: oklch(41.1% 0.145 293.5);
Tailwind
colors: {
  custom: {
    50: '#876db1',
    500: '#513490',
    950: '#000000',
  },
}
SCSS
$custom: #513490;
$custom-light: #876db1;
$custom-dark: #000000;
JSON
{
  "hex": "#513490",
  "rgb": {
    "r": 81,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 258.913,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.14481,
    "h": 293.5
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#513490
secondary
#9DB46B
accent
#D751AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513490

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

Preview Lab → · Contrast checker → · Palette generator →

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