#5319CA#5319CA

#5319CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.8% C 0.237 H 286.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5319CA
RGBrgb(83, 25, 202)
HSLhsl(260, 78%, 45%)
HSVhsv(260, 88%, 79%)
CMYKcmyk(58.9%, 87.6%, 0%, 20.8%)
CIE-LABlab(31.34, 63.55, -79.01)
CIE-LCHlch(31.34, 101.39, 308.81°)
OKLaboklab(43.78% 0.0653 -0.2276)
OKLCHoklch(43.78% 0.237 286)
XYZxyz(14.5724, 6.7976, 56.4099)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5319CA #90CA19
analogous
#1937CA #5319CA #AC19CA
triadic
#5319CA #CA5319 #19CA53
tetradic
#5319CA #CA1937 #90CA19 #19CAAC
square
#5319CA #CA1937 #90CA19 #19CAAC
split-complementary
#5319CA #CAAC19 #37CA19
monochromatic
#260C5D #3D1294 #5319CA #723AE7 #9970ED

Accessibility & contrast

On white

8.90
#5319CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5319CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5319CA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5319CA#FFFFFF#000000##FFFFFF
##5319CA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#075478
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5319ca;
/* rgb */ color: rgb(83, 25, 202);
/* oklch */ color: oklch(43.8% 0.237 286.0);
Tailwind
colors: {
  custom: {
    50: '#9262dc',
    500: '#5319ca',
    950: '#000000',
  },
}
SCSS
$custom: #5319ca;
$custom-light: #9262dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5319ca",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 259.661,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.23677,
    "h": 286
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#5319CA
secondary
#B1D46B
accent
#F433B5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0F0615
muted
#7E7A83

Preview Lab

Preview with #5319CA

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

Preview Lab → · Contrast checker → · Palette generator →

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