#513488#513488

#513488 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.134 H 295.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#513488
RGBrgb(81, 52, 136)
HSLhsl(261, 45%, 37%)
HSVhsv(261, 62%, 53%)
CMYKcmyk(40.4%, 61.8%, 0%, 46.7%)
CIE-LABlab(29.37, 32.88, -42.53)
CIE-LCHlch(29.37, 53.76, 307.71°)
OKLaboklab(40.51% 0.0583 -0.121)
OKLCHoklch(40.51% 0.134 295.7)
XYZxyz(9.0641, 5.9827, 23.9650)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513488 #6B8834
analogous
#344188 #513488 #7B3488
triadic
#513488 #885134 #348851
tetradic
#513488 #883441 #6B8834 #34887B
square
#513488 #883441 #6B8834 #34887B
split-complementary
#513488 #887B34 #418834
monochromatic
#1C122F #37235C #513488 #6B45B4 #8D6FC8

Accessibility & contrast

On white

9.56
#513488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#513488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513488
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513488#FFFFFF#000000##FFFFFF
##5134881.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#0C4486
Tritanopia (blue-blind)
#434659
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #513488;
/* rgb */ color: rgb(81, 52, 136);
/* oklch */ color: oklch(40.5% 0.134 295.7);
Tailwind
colors: {
  custom: {
    50: '#866dab',
    500: '#513488',
    950: '#000000',
  },
}
SCSS
$custom: #513488;
$custom-light: #866dab;
$custom-dark: #000000;
JSON
{
  "hex": "#513488",
  "rgb": {
    "r": 81,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 260.714,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.13433,
    "h": 295.7
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#513488
secondary
#97B068
accent
#D453A8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #513488

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

Preview Lab → · Contrast checker → · Palette generator →

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