#5316CD#5316CD

#5316CD is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.9% C 0.241 H 285.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#5316CD
RGBrgb(83, 22, 205)
HSLhsl(260, 81%, 45%)
HSVhsv(260, 89%, 80%)
CMYKcmyk(59.5%, 89.3%, 0%, 19.6%)
CIE-LABlab(31.39, 65.14, -80.67)
CIE-LCHlch(31.39, 103.69, 308.92°)
OKLaboklab(43.91% 0.0652 -0.2324)
OKLCHoklch(43.91% 0.241 285.7)
XYZxyz(14.8703, 6.8197, 58.2785)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5316CD #90CD16
analogous
#1635CD #5316CD #AF16CD
triadic
#5316CD #CD5316 #16CD53
tetradic
#5316CD #CD1635 #90CD16 #16CDAF
square
#5316CD #CD1635 #90CD16 #16CDAF
split-complementary
#5316CD #CDAF16 #35CD16
monochromatic
#260A5E #3D1096 #5316CD #7237EA #996EEF

Accessibility & contrast

On white

8.88
#5316CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5316CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5316CD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5316CD#FFFFFF#000000##FFFFFF
##5316CD1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ED2
Deuteranopia (green-blind)
#0044CA
Tritanopia (blue-blind)
#005579
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5316cd;
/* rgb */ color: rgb(83, 22, 205);
/* oklch */ color: oklch(43.9% 0.241 285.7);
Tailwind
colors: {
  custom: {
    50: '#9362de',
    500: '#5316cd',
    950: '#000000',
  },
}
SCSS
$custom: #5316cd;
$custom-light: #9362de;
$custom-dark: #000000;
JSON
{
  "hex": "#5316cd",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 205
  },
  "hsl": {
    "h": 260,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.24136,
    "h": 285.7
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#5316CD
secondary
#B1D569
accent
#F731B5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0F0615
muted
#7E7A83

Preview Lab

Preview with #5316CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5316CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva