#5327AB#5327AB

#5327AB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.193 H 290.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5327AB
RGBrgb(83, 39, 171)
HSLhsl(260, 63%, 41%)
HSVhsv(260, 77%, 67%)
CMYKcmyk(51.5%, 77.2%, 0%, 32.9%)
CIE-LABlab(29.98, 50.10, -62.88)
CIE-LCHlch(29.98, 80.40, 308.54°)
OKLaboklab(41.9% 0.0684 -0.1807)
OKLCHoklch(41.9% 0.193 290.7)
XYZxyz(11.6414, 6.2298, 39.1093)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327AB #7FAB27
analogous
#273DAB #5327AB #9527AB
triadic
#5327AB #AB5327 #27AB53
tetradic
#5327AB #AB273D #7FAB27 #27AB95
square
#5327AB #AB273D #7FAB27 #27AB95
split-complementary
#5327AB #AB9527 #3DAB27
monochromatic
#231047 #3B1C79 #5327AB #6F3DD3 #946EDE

Accessibility & contrast

On white

9.35
#5327AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5327AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5327AB#FFFFFF#000000##FFFFFF
##5327AB1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#344C68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5327ab;
/* rgb */ color: rgb(83, 39, 171);
/* oklch */ color: oklch(41.9% 0.193 290.7);
Tailwind
colors: {
  custom: {
    50: '#8d66c5',
    500: '#5327ab',
    950: '#000000',
  },
}
SCSS
$custom: #5327ab;
$custom-light: #8d66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5327ab",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 260,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41903,
    "c": 0.19318,
    "h": 290.7
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5327AB

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

Preview Lab → · Contrast checker → · Palette generator →

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