#5327AD#5327AD

#5327AD is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.195 H 290.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5327AD
RGBrgb(83, 39, 173)
HSLhsl(260, 63%, 42%)
HSVhsv(260, 77%, 68%)
CMYKcmyk(52%, 77.5%, 0%, 32.2%)
CIE-LABlab(30.17, 50.64, -63.77)
CIE-LCHlch(30.17, 81.44, 308.45°)
OKLaboklab(42.09% 0.0678 -0.1833)
OKLCHoklch(42.09% 0.195 290.3)
XYZxyz(11.8335, 6.3067, 40.1209)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327AD #81AD27
analogous
#273EAD #5327AD #9627AD
triadic
#5327AD #AD5327 #27AD53
tetradic
#5327AD #AD273E #81AD27 #27AD96
square
#5327AD #AD273E #81AD27 #27AD96
split-complementary
#5327AD #AD9627 #3EAD27
monochromatic
#231049 #3B1C7B #5327AD #6F3ED3 #9470DF

Accessibility & contrast

On white

9.29
#5327AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5327AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5327AD
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5327AD#FFFFFF#000000##FFFFFF
##5327AD1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#324D69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5327ad;
/* rgb */ color: rgb(83, 39, 173);
/* oklch */ color: oklch(42.1% 0.195 290.3);
Tailwind
colors: {
  custom: {
    50: '#8d67c7',
    500: '#5327ad',
    950: '#000000',
  },
}
SCSS
$custom: #5327ad;
$custom-light: #8d67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5327ad",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 259.701,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.19542,
    "h": 290.3
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#5327AD
secondary
#A8C66A
accent
#E642B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5327AD

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

Preview Lab → · Contrast checker → · Palette generator →

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