#5327A1#5327A1

#5327A1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.182 H 293.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#5327A1
RGBrgb(83, 39, 161)
HSLhsl(262, 61%, 39%)
HSVhsv(262, 76%, 63%)
CMYKcmyk(48.4%, 75.8%, 0%, 36.9%)
CIE-LABlab(29.06, 47.37, -58.36)
CIE-LCHlch(29.06, 75.16, 309.06°)
OKLaboklab(40.98% 0.0711 -0.1674)
OKLCHoklch(40.98% 0.182 293)
XYZxyz(10.7240, 5.8629, 34.2779)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327A1 #75A127
analogous
#2738A1 #5327A1 #9027A1
triadic
#5327A1 #A15327 #27A153
tetradic
#5327A1 #A12738 #75A127 #27A190
square
#5327A1 #A12738 #75A127 #27A190
split-complementary
#5327A1 #A19027 #38A127
monochromatic
#200F3E #3A1B70 #5327A1 #6D37CE #9168DA

Accessibility & contrast

On white

9.67
#5327A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5327A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5327A1
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5327A1#FFFFFF#000000##FFFFFF
##5327A11.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#3B4862
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5327a1;
/* rgb */ color: rgb(83, 39, 161);
/* oklch */ color: oklch(41.0% 0.182 293.0);
Tailwind
colors: {
  custom: {
    50: '#8b66be',
    500: '#5327a1',
    950: '#000000',
  },
}
SCSS
$custom: #5327a1;
$custom-light: #8b66be;
$custom-dark: #000000;
JSON
{
  "hex": "#5327a1",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 261.639,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40976,
    "c": 0.18188,
    "h": 293
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#5327A1
secondary
#9FC063
accent
#E444AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5327A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5327A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva