#5327AE#5327AE

#5327AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.197 H 290.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#5327AE
RGBrgb(83, 39, 174)
HSLhsl(260, 63%, 42%)
HSVhsv(260, 78%, 68%)
CMYKcmyk(52.3%, 77.6%, 0%, 31.8%)
CIE-LABlab(30.27, 50.92, -64.22)
CIE-LCHlch(30.27, 81.95, 308.41°)
OKLaboklab(42.19% 0.0675 -0.1846)
OKLCHoklch(42.19% 0.197 290.1)
XYZxyz(11.9306, 6.3455, 40.6324)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327AE #82AE27
analogous
#273EAE #5327AE #9727AE
triadic
#5327AE #AE5327 #27AE53
tetradic
#5327AE #AE273E #82AE27 #27AE97
square
#5327AE #AE273E #82AE27 #27AE97
split-complementary
#5327AE #AE9727 #3EAE27
monochromatic
#23114A #3B1C7C #5327AE #6F3ED4 #9470DF

Accessibility & contrast

On white

9.25
#5327AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5327AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5327AE
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5327AE#FFFFFF#000000##FFFFFF
##5327AE1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#324D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5327ae;
/* rgb */ color: rgb(83, 39, 174);
/* oklch */ color: oklch(42.2% 0.197 290.1);
Tailwind
colors: {
  custom: {
    50: '#8d67c7',
    500: '#5327ae',
    950: '#000000',
  },
}
SCSS
$custom: #5327ae;
$custom-light: #8d67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5327ae",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 259.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42187,
    "c": 0.19654,
    "h": 290.1
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#5327AE
secondary
#A8C66B
accent
#E641B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5327AE

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

Preview Lab → · Contrast checker → · Palette generator →

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