#513296#513296

#513296 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.155 H 292.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#513296
RGBrgb(81, 50, 150)
HSLhsl(259, 50%, 39%)
HSVhsv(259, 67%, 59%)
CMYKcmyk(46%, 66.7%, 0%, 41.2%)
CIE-LABlab(29.99, 38.10, -50.15)
CIE-LCHlch(29.99, 62.98, 307.22°)
OKLaboklab(41.3% 0.0595 -0.1434)
OKLCHoklch(41.3% 0.155 292.5)
XYZxyz(10.0374, 6.2322, 29.5223)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513296 #779632
analogous
#324596 #513296 #833296
triadic
#513296 #965132 #329651
tetradic
#513296 #963245 #779632 #329683
square
#513296 #963245 #779632 #329683
split-complementary
#513296 #968332 #459632
monochromatic
#1F133A #382368 #513296 #6B44C1 #8F72D0

Accessibility & contrast

On white

9.35
#513296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#513296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513296
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513296#FFFFFF#000000##FFFFFF
##5132961.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#3D4A5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #513296;
/* rgb */ color: rgb(81, 50, 150);
/* oklch */ color: oklch(41.3% 0.155 292.5);
Tailwind
colors: {
  custom: {
    50: '#886cb6',
    500: '#513296',
    950: '#000000',
  },
}
SCSS
$custom: #513296;
$custom-light: #886cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#513296",
  "rgb": {
    "r": 81,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 258.6,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.15528,
    "h": 292.5
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#513296
secondary
#A0B86C
accent
#DA4EAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513296

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

Preview Lab → · Contrast checker → · Palette generator →

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