#513290#513290

#513290 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.148 H 294.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#513290
RGBrgb(81, 50, 144)
HSLhsl(260, 48%, 38%)
HSVhsv(260, 65%, 56%)
CMYKcmyk(43.8%, 65.3%, 0%, 43.5%)
CIE-LABlab(29.52, 36.36, -47.23)
CIE-LCHlch(29.52, 59.61, 307.59°)
OKLaboklab(40.81% 0.0602 -0.1348)
OKLCHoklch(40.81% 0.148 294)
XYZxyz(9.5666, 6.0439, 27.0427)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513290 #719032
analogous
#324290 #513290 #803290
triadic
#513290 #905132 #329051
tetradic
#513290 #903242 #719032 #329080
square
#513290 #903242 #719032 #329080
split-complementary
#513290 #908032 #429032
monochromatic
#1E1235 #372263 #513290 #6B42BD #8E6FCD

Accessibility & contrast

On white

9.51
#513290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513290
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513290#FFFFFF#000000##FFFFFF
##5132901.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#40485C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #513290;
/* rgb */ color: rgb(81, 50, 144);
/* oklch */ color: oklch(40.8% 0.148 294.0);
Tailwind
colors: {
  custom: {
    50: '#876cb1',
    500: '#513290',
    950: '#000000',
  },
}
SCSS
$custom: #513290;
$custom-light: #876cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#513290",
  "rgb": {
    "r": 81,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 259.787,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.14764,
    "h": 294
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#513290
secondary
#9CB569
accent
#D850AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513290

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

Preview Lab → · Contrast checker → · Palette generator →

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