#513588#513588

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

Color values

HEX#513588
RGBrgb(81, 53, 136)
HSLhsl(260, 44%, 37%)
HSVhsv(260, 61%, 53%)
CMYKcmyk(40.4%, 61%, 0%, 46.7%)
CIE-LABlab(29.60, 32.28, -42.17)
CIE-LCHlch(29.60, 53.10, 307.44°)
OKLaboklab(40.67% 0.057 -0.1199)
OKLCHoklch(40.67% 0.133 295.4)
XYZxyz(9.1092, 6.0729, 23.9800)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513588 #6C8835
analogous
#354388 #513588 #7B3588
triadic
#513588 #885135 #358851
tetradic
#513588 #883543 #6C8835 #35887B
square
#513588 #883543 #6C8835 #35887B
split-complementary
#513588 #887B35 #438835
monochromatic
#1D1330 #37245C #513588 #6B46B4 #8E70C7

Accessibility & contrast

On white

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

On black

2.21
#513588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##513588#FFFFFF#000000##FFFFFF
##5135881.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#0F4586
Tritanopia (blue-blind)
#434759
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #513588;
/* rgb */ color: rgb(81, 53, 136);
/* oklch */ color: oklch(40.7% 0.133 295.4);
Tailwind
colors: {
  custom: {
    50: '#866dab',
    500: '#513588',
    950: '#000000',
  },
}
SCSS
$custom: #513588;
$custom-light: #866dab;
$custom-dark: #000000;
JSON
{
  "hex": "#513588",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 260.241,
    "s": 43.915,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.13282,
    "h": 295.4
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#513588
secondary
#98B069
accent
#D454A9
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #513588

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

Preview Lab → · Contrast checker → · Palette generator →

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