#513293#513293

#513293 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.151 H 293.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#513293
RGBrgb(81, 50, 147)
HSLhsl(259, 49%, 39%)
HSVhsv(259, 66%, 58%)
CMYKcmyk(44.9%, 66%, 0%, 42.4%)
CIE-LABlab(29.75, 37.23, -48.70)
CIE-LCHlch(29.75, 61.30, 307.40°)
OKLaboklab(41.05% 0.0599 -0.1391)
OKLCHoklch(41.05% 0.151 293.3)
XYZxyz(9.7990, 6.1368, 28.2663)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513293 #749332
analogous
#324393 #513293 #813293
triadic
#513293 #935132 #329351
tetradic
#513293 #933243 #749332 #329381
square
#513293 #933243 #749332 #329381
split-complementary
#513293 #938132 #439332
monochromatic
#1F1338 #382265 #513293 #6B43BF #8F71CF

Accessibility & contrast

On white

9.43
#513293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#513293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513293
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513293#FFFFFF#000000##FFFFFF
##5132931.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#3E495E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #513293;
/* rgb */ color: rgb(81, 50, 147);
/* oklch */ color: oklch(41.1% 0.151 293.3);
Tailwind
colors: {
  custom: {
    50: '#876cb3',
    500: '#513293',
    950: '#000000',
  },
}
SCSS
$custom: #513293;
$custom-light: #876cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#513293",
  "rgb": {
    "r": 81,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 259.175,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.15148,
    "h": 293.3
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#513293
secondary
#9EB76A
accent
#D94FAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #513293

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

Preview Lab → · Contrast checker → · Palette generator →

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