#5327A2#5327A2

#5327A2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.183 H 292.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5327A2
RGBrgb(83, 39, 162)
HSLhsl(261, 61%, 39%)
HSVhsv(261, 76%, 64%)
CMYKcmyk(48.8%, 75.9%, 0%, 36.5%)
CIE-LABlab(29.15, 47.64, -58.82)
CIE-LCHlch(29.15, 75.69, 309.01°)
OKLaboklab(41.07% 0.0708 -0.1688)
OKLCHoklch(41.07% 0.183 292.8)
XYZxyz(10.8126, 5.8983, 34.7442)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327A2 #76A227
analogous
#2739A2 #5327A2 #9027A2
triadic
#5327A2 #A25327 #27A253
tetradic
#5327A2 #A22739 #76A227 #27A290
square
#5327A2 #A22739 #76A227 #27A290
split-complementary
#5327A2 #A29027 #39A227
monochromatic
#200F3F #3A1B71 #5327A2 #6E37CF #9169DB

Accessibility & contrast

On white

9.63
#5327A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5327A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5327A2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5327A2#FFFFFF#000000##FFFFFF
##5327A21.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#3A4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5327a2;
/* rgb */ color: rgb(83, 39, 162);
/* oklch */ color: oklch(41.1% 0.183 292.8);
Tailwind
colors: {
  custom: {
    50: '#8b66bf',
    500: '#5327a2',
    950: '#000000',
  },
}
SCSS
$custom: #5327a2;
$custom-light: #8b66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5327a2",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 261.463,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.18303,
    "h": 292.8
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#5327A2
secondary
#A0C164
accent
#E443AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5327A2

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

Preview Lab → · Contrast checker → · Palette generator →

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