#5319A0#5319A0

#5319A0 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.194 H 295.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#5319A0
RGBrgb(83, 25, 160)
HSLhsl(266, 73%, 36%)
HSVhsv(266, 84%, 63%)
CMYKcmyk(48.1%, 84.4%, 0%, 37.3%)
CIE-LABlab(26.94, 52.98, -61.24)
CIE-LCHlch(26.94, 80.97, 310.86°)
OKLaboklab(39.47% 0.0818 -0.1757)
OKLCHoklch(39.47% 0.194 295)
XYZxyz(10.2583, 5.0720, 33.6894)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5319A0 #66A019
analogous
#1922A0 #5319A0 #9719A0
triadic
#5319A0 #A05319 #19A053
tetradic
#5319A0 #A01922 #66A019 #19A097
square
#5319A0 #A01922 #66A019 #19A097
split-complementary
#5319A0 #A09719 #22A019
monochromatic
#1C0836 #38116B #5319A0 #6E21D5 #8F50E4

Accessibility & contrast

On white

10.42
#5319A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5319A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5319A0
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5319A0#FFFFFF#000000##FFFFFF
##5319A01.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#3C425F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5319a0;
/* rgb */ color: rgb(83, 25, 160);
/* oklch */ color: oklch(39.5% 0.194 295.0);
Tailwind
colors: {
  custom: {
    50: '#8c5fbd',
    500: '#5319a0',
    950: '#000000',
  },
}
SCSS
$custom: #5319a0;
$custom-light: #8c5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5319a0",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 265.778,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.19385,
    "h": 295
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#5319A0
secondary
#93C64F
accent
#F038A1
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5319A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5319A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva