#5327A4#5327A4

#5327A4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.185 H 292.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#5327A4
RGBrgb(83, 39, 164)
HSLhsl(261, 62%, 40%)
HSVhsv(261, 76%, 64%)
CMYKcmyk(49.4%, 76.2%, 0%, 35.7%)
CIE-LABlab(29.34, 48.19, -59.73)
CIE-LCHlch(29.34, 76.74, 308.89°)
OKLaboklab(41.25% 0.0703 -0.1714)
OKLCHoklch(41.25% 0.185 292.3)
XYZxyz(10.9918, 5.9700, 35.6879)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327A4 #78A427
analogous
#273AA4 #5327A4 #9227A4
triadic
#5327A4 #A45327 #27A453
tetradic
#5327A4 #A4273A #78A427 #27A492
square
#5327A4 #A4273A #78A427 #27A492
split-complementary
#5327A4 #A49227 #3AA427
monochromatic
#210F41 #3A1B73 #5327A4 #6E38D0 #926ADC

Accessibility & contrast

On white

9.57
#5327A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5327A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5327A4
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5327A4#FFFFFF#000000##FFFFFF
##5327A41.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#394964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5327a4;
/* rgb */ color: rgb(83, 39, 164);
/* oklch */ color: oklch(41.3% 0.185 292.3);
Tailwind
colors: {
  custom: {
    50: '#8c66c0',
    500: '#5327a4',
    950: '#000000',
  },
}
SCSS
$custom: #5327a4;
$custom-light: #8c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5327a4",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 261.12,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41251,
    "c": 0.18529,
    "h": 292.3
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#5327A4
secondary
#A1C265
accent
#E543AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5327A4

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

Preview Lab → · Contrast checker → · Palette generator →

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