#5327A3#5327A3

#5327A3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.184 H 292.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#5327A3
RGBrgb(83, 39, 163)
HSLhsl(261, 61%, 40%)
HSVhsv(261, 76%, 64%)
CMYKcmyk(49.1%, 76.1%, 0%, 36.1%)
CIE-LABlab(29.25, 47.91, -59.27)
CIE-LCHlch(29.25, 76.22, 308.95°)
OKLaboklab(41.16% 0.0706 -0.1701)
OKLCHoklch(41.16% 0.184 292.5)
XYZxyz(10.9018, 5.9340, 35.2142)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327A3 #77A327
analogous
#2739A3 #5327A3 #9127A3
triadic
#5327A3 #A35327 #27A353
tetradic
#5327A3 #A32739 #77A327 #27A391
square
#5327A3 #A32739 #77A327 #27A391
split-complementary
#5327A3 #A39127 #39A327
monochromatic
#210F40 #3A1B72 #5327A3 #6E38CF #9269DB

Accessibility & contrast

On white

9.60
#5327A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5327A3
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5327A3#FFFFFF#000000##FFFFFF
##5327A31.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#394963
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5327a3;
/* rgb */ color: rgb(83, 39, 163);
/* oklch */ color: oklch(41.2% 0.184 292.5);
Tailwind
colors: {
  custom: {
    50: '#8c66bf',
    500: '#5327a3',
    950: '#000000',
  },
}
SCSS
$custom: #5327a3;
$custom-light: #8c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5327a3",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 261.29,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41159,
    "c": 0.18416,
    "h": 292.5
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5327A3

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

Preview Lab → · Contrast checker → · Palette generator →

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