#513485#513485

#513485 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.130 H 296.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#513485
RGBrgb(81, 52, 133)
HSLhsl(261, 44%, 36%)
HSVhsv(261, 61%, 52%)
CMYKcmyk(39.1%, 60.9%, 0%, 47.8%)
CIE-LABlab(29.16, 32.02, -41.01)
CIE-LCHlch(29.16, 52.03, 307.98°)
OKLaboklab(40.28% 0.0584 -0.1165)
OKLCHoklch(40.28% 0.13 296.6)
XYZxyz(8.8539, 5.8986, 22.8578)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513485 #688534
analogous
#344085 #513485 #7A3485
triadic
#513485 #855134 #348551
tetradic
#513485 #853440 #688534 #34857A
square
#513485 #853440 #688534 #34857A
split-complementary
#513485 #857A34 #408534
monochromatic
#1B122D #362359 #513485 #6C45B1 #8D6DC6

Accessibility & contrast

On white

9.63
#513485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#513485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513485
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513485#FFFFFF#000000##FFFFFF
##5134851.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024588
Deuteranopia (green-blind)
#134483
Tritanopia (blue-blind)
#454557
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #513485;
/* rgb */ color: rgb(81, 52, 133);
/* oklch */ color: oklch(40.3% 0.130 296.6);
Tailwind
colors: {
  custom: {
    50: '#866da9',
    500: '#513485',
    950: '#000000',
  },
}
SCSS
$custom: #513485;
$custom-light: #866da9;
$custom-dark: #000000;
JSON
{
  "hex": "#513485",
  "rgb": {
    "r": 81,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 261.481,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.13036,
    "h": 296.6
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#513485
secondary
#95AE67
accent
#D454A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #513485

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

Preview Lab → · Contrast checker → · Palette generator →

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