#5327AA#5327AA

#5327AA is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.192 H 290.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#5327AA
RGBrgb(83, 39, 170)
HSLhsl(260, 63%, 41%)
HSVhsv(260, 77%, 67%)
CMYKcmyk(51.2%, 77.1%, 0%, 33.3%)
CIE-LABlab(29.89, 49.82, -62.44)
CIE-LCHlch(29.89, 79.88, 308.59°)
OKLaboklab(41.81% 0.0687 -0.1794)
OKLCHoklch(41.81% 0.192 290.9)
XYZxyz(11.5464, 6.1918, 38.6092)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327AA #7EAA27
analogous
#273CAA #5327AA #9427AA
triadic
#5327AA #AA5327 #27AA53
tetradic
#5327AA #AA273C #7EAA27 #27AA94
square
#5327AA #AA273C #7EAA27 #27AA94
split-complementary
#5327AA #AA9427 #3CAA27
monochromatic
#221046 #3B1C78 #5327AA #6E3CD2 #936EDE

Accessibility & contrast

On white

9.38
#5327AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5327AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5327AA#FFFFFF#000000##FFFFFF
##5327AA1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#354C67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5327aa;
/* rgb */ color: rgb(83, 39, 170);
/* oklch */ color: oklch(41.8% 0.192 290.9);
Tailwind
colors: {
  custom: {
    50: '#8d66c4',
    500: '#5327aa',
    950: '#000000',
  },
}
SCSS
$custom: #5327aa;
$custom-light: #8d66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5327aa",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 260.153,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41809,
    "c": 0.19206,
    "h": 290.9
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#5327AA
secondary
#A5C469
accent
#E642AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5327AA

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

Preview Lab → · Contrast checker → · Palette generator →

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