#513592#513592

#513592 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.146 H 292.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#513592
RGBrgb(81, 53, 146)
HSLhsl(258, 47%, 39%)
HSVhsv(258, 64%, 57%)
CMYKcmyk(44.5%, 63.7%, 0%, 42.7%)
CIE-LABlab(30.33, 35.19, -47.15)
CIE-LCHlch(30.33, 58.84, 306.73°)
OKLaboklab(41.44% 0.0565 -0.1346)
OKLCHoklch(41.44% 0.146 292.8)
XYZxyz(9.8533, 6.3706, 27.8990)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513592 #769235
analogous
#354792 #513592 #803592
triadic
#513592 #925135 #359251
tetradic
#513592 #923547 #769235 #359280
square
#513592 #923547 #769235 #359280
split-complementary
#513592 #928035 #479235
monochromatic
#1F1438 #382565 #513592 #6B48BC #8F75CD

Accessibility & contrast

On white

9.23
#513592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#513592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513592
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513592#FFFFFF#000000##FFFFFF
##5135921.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#3F4A5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #513592;
/* rgb */ color: rgb(81, 53, 146);
/* oklch */ color: oklch(41.4% 0.146 292.8);
Tailwind
colors: {
  custom: {
    50: '#876eb3',
    500: '#513592',
    950: '#000000',
  },
}
SCSS
$custom: #513592;
$custom-light: #876eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#513592",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 258.065,
    "s": 46.734,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.14599,
    "h": 292.8
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#513592
secondary
#A0B56E
accent
#D651AE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513592

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

Preview Lab → · Contrast checker → · Palette generator →

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