#5319B4#5319B4

#5319B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.5% C 0.214 H 290.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#5319B4
RGBrgb(83, 25, 180)
HSLhsl(262, 76%, 40%)
HSVhsv(262, 86%, 71%)
CMYKcmyk(53.9%, 86.1%, 0%, 29.4%)
CIE-LABlab(28.98, 58.01, -69.93)
CIE-LCHlch(28.98, 90.86, 309.68°)
OKLaboklab(41.48% 0.0741 -0.2011)
OKLCHoklch(41.48% 0.214 290.2)
XYZxyz(12.1507, 5.8290, 43.6560)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5319B4 #7AB419
analogous
#192CB4 #5319B4 #A119B4
triadic
#5319B4 #B45319 #19B453
tetradic
#5319B4 #B4192C #7AB419 #19B4A1
square
#5319B4 #B4192C #7AB419 #19B4A1
split-complementary
#5319B4 #B4A119 #2CB419
monochromatic
#210A49 #3A127E #5319B4 #6E29E1 #925FE9

Accessibility & contrast

On white

9.70
#5319B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5319B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5319B4
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5319B4#FFFFFF#000000##FFFFFF
##5319B41.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#2D4B6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5319b4;
/* rgb */ color: rgb(83, 25, 180);
/* oklch */ color: oklch(41.5% 0.214 290.2);
Tailwind
colors: {
  custom: {
    50: '#8f61cc',
    500: '#5319b4',
    950: '#000000',
  },
}
SCSS
$custom: #5319b4;
$custom-light: #8f61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5319b4",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 262.452,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.21436,
    "h": 290.2
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#5319B4
secondary
#A3CD5C
accent
#F236AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0514
muted
#7E7A82

Preview Lab

Preview with #5319B4

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

Preview Lab → · Contrast checker → · Palette generator →

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