#513AC3#513AC3

#513AC3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.4% C 0.201 H 282.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#513AC3
RGBrgb(81, 58, 195)
HSLhsl(250, 54%, 50%)
HSVhsv(250, 70%, 76%)
CMYKcmyk(58.5%, 70.3%, 0%, 23.5%)
CIE-LABlab(35.43, 47.04, -68.18)
CIE-LCHlch(35.43, 82.83, 304.60°)
OKLaboklab(46.37% 0.0449 -0.1964)
OKLCHoklch(46.37% 0.201 282.9)
XYZxyz(14.7537, 8.7146, 52.5238)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513AC3 #ACC33A
analogous
#3A68C3 #513AC3 #963AC3
triadic
#513AC3 #C3513A #3AC351
tetradic
#513AC3 #C33A68 #ACC33A #3AC396
square
#513AC3 #C33A68 #ACC33A #3AC396
split-complementary
#513AC3 #C3963A #68C33A
monochromatic
#2A1E65 #3D2C94 #513AC3 #7A68D2 #A397E0

Accessibility & contrast

On white

7.66
#513AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#513AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513AC3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513AC3#FFFFFF#000000##FFFFFF
##513AC31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#085F7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #513ac3;
/* rgb */ color: rgb(81, 58, 195);
/* oklch */ color: oklch(46.4% 0.201 282.9);
Tailwind
colors: {
  custom: {
    50: '#8e72d6',
    500: '#513ac3',
    950: '#000000',
  },
}
SCSS
$custom: #513ac3;
$custom-light: #8e72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#513ac3",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 250.073,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.20143,
    "h": 282.9
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#513AC3
secondary
#C1CC8D
accent
#DE4AC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #513AC3

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

Preview Lab → · Contrast checker → · Palette generator →

#513AC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva