#5327BA#5327BA

#5327BA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.210 H 287.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#5327BA
RGBrgb(83, 39, 186)
HSLhsl(258, 65%, 44%)
HSVhsv(258, 79%, 73%)
CMYKcmyk(55.4%, 79%, 0%, 27.1%)
CIE-LABlab(31.43, 54.20, -69.46)
CIE-LCHlch(31.43, 88.10, 307.96°)
OKLaboklab(43.35% 0.0639 -0.1999)
OKLCHoklch(43.35% 0.21 287.7)
XYZxyz(13.1531, 6.8345, 47.0710)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327BA #8EBA27
analogous
#2745BA #5327BA #9D27BA
triadic
#5327BA #BA5327 #27BA53
tetradic
#5327BA #BA2745 #8EBA27 #27BA9D
square
#5327BA #BA2745 #8EBA27 #27BA9D
split-complementary
#5327BA #BA9D27 #45BA27
monochromatic
#261255 #3C1C87 #5327BA #7246D8 #9879E3

Accessibility & contrast

On white

8.87
#5327BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5327BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5327BA#FFFFFF#000000##FFFFFF
##5327BA1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#265271
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5327ba;
/* rgb */ color: rgb(83, 39, 186);
/* oklch */ color: oklch(43.3% 0.210 287.7);
Tailwind
colors: {
  custom: {
    50: '#8f67d0',
    500: '#5327ba',
    950: '#000000',
  },
}
SCSS
$custom: #5327ba;
$custom-light: #8f67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5327ba",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 257.959,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.20986,
    "h": 287.7
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#5327BA
secondary
#B0CB72
accent
#E840B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #5327BA

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

Preview Lab → · Contrast checker → · Palette generator →

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