#5327A5#5327A5

#5327A5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.186 H 292.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#5327A5
RGBrgb(83, 39, 165)
HSLhsl(261, 62%, 40%)
HSVhsv(261, 76%, 65%)
CMYKcmyk(49.7%, 76.4%, 0%, 35.3%)
CIE-LABlab(29.43, 48.46, -60.18)
CIE-LCHlch(29.43, 77.27, 308.84°)
OKLaboklab(41.34% 0.07 -0.1728)
OKLCHoklch(41.34% 0.186 292.1)
XYZxyz(11.0824, 6.0062, 36.1654)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327A5 #79A527
analogous
#273AA5 #5327A5 #9227A5
triadic
#5327A5 #A55327 #27A553
tetradic
#5327A5 #A5273A #79A527 #27A592
square
#5327A5 #A5273A #79A527 #27A592
split-complementary
#5327A5 #A59227 #3AA527
monochromatic
#211042 #3A1B74 #5327A5 #6E39D0 #926ADC

Accessibility & contrast

On white

9.54
#5327A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5327A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5327A5#FFFFFF#000000##FFFFFF
##5327A51.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#384A64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5327a5;
/* rgb */ color: rgb(83, 39, 165);
/* oklch */ color: oklch(41.3% 0.186 292.1);
Tailwind
colors: {
  custom: {
    50: '#8c66c1',
    500: '#5327a5',
    950: '#000000',
  },
}
SCSS
$custom: #5327a5;
$custom-light: #8c66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5327a5",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 260.952,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.41343,
    "c": 0.18642,
    "h": 292.1
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#5327A5
secondary
#A2C266
accent
#E543AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5327A5

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

Preview Lab → · Contrast checker → · Palette generator →

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