#513883#513883

#513883 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 40.8% C 0.121 H 296.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#513883
RGBrgb(81, 56, 131)
HSLhsl(260, 40%, 37%)
HSVhsv(260, 57%, 51%)
CMYKcmyk(38.2%, 57.3%, 0%, 48.6%)
CIE-LABlab(29.95, 29.01, -38.49)
CIE-LCHlch(29.95, 48.19, 307.01°)
OKLaboklab(40.83% 0.0531 -0.1091)
OKLCHoklch(40.83% 0.121 296)
XYZxyz(8.9032, 6.2162, 22.1991)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513883 #6A8338
analogous
#384583 #513883 #773883
triadic
#513883 #835138 #388351
tetradic
#513883 #833845 #6A8338 #388377
square
#513883 #833845 #6A8338 #388377
split-complementary
#513883 #837738 #458338
monochromatic
#1C132D #362658 #513883 #6C4AAE #8D72C3

Accessibility & contrast

On white

9.36
#513883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#513883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513883
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513883#FFFFFF#000000##FFFFFF
##5138831.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#1D4681
Tritanopia (blue-blind)
#454758
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #513883;
/* rgb */ color: rgb(81, 56, 131);
/* oklch */ color: oklch(40.8% 0.121 296.0);
Tailwind
colors: {
  custom: {
    50: '#856fa7',
    500: '#513883',
    950: '#000000',
  },
}
SCSS
$custom: #513883;
$custom-light: #856fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#513883",
  "rgb": {
    "r": 81,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 260,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.12137,
    "h": 296
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#513883
secondary
#96AC6B
accent
#D058A8
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #513883

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

Preview Lab → · Contrast checker → · Palette generator →

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