#5327A0#5327A0

#5327A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.181 H 293.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#5327A0
RGBrgb(83, 39, 160)
HSLhsl(262, 61%, 39%)
HSVhsv(262, 76%, 63%)
CMYKcmyk(48.1%, 75.6%, 0%, 37.3%)
CIE-LABlab(28.97, 47.09, -57.90)
CIE-LCHlch(28.97, 74.63, 309.12°)
OKLaboklab(40.89% 0.0714 -0.1661)
OKLCHoklch(40.89% 0.181 293.3)
XYZxyz(10.6362, 5.8278, 33.8153)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327A0 #74A027
analogous
#2738A0 #5327A0 #9027A0
triadic
#5327A0 #A05327 #27A053
tetradic
#5327A0 #A02738 #74A027 #27A090
square
#5327A0 #A02738 #74A027 #27A090
split-complementary
#5327A0 #A09027 #38A027
monochromatic
#200F3E #391B6F #5327A0 #6D36CE #9167DA

Accessibility & contrast

On white

9.70
#5327A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5327A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5327A0#FFFFFF#000000##FFFFFF
##5327A01.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#3B4862
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5327a0;
/* rgb */ color: rgb(83, 39, 160);
/* oklch */ color: oklch(40.9% 0.181 293.3);
Tailwind
colors: {
  custom: {
    50: '#8b66bd',
    500: '#5327a0',
    950: '#000000',
  },
}
SCSS
$custom: #5327a0;
$custom-light: #8b66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5327a0",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 261.818,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.18075,
    "h": 293.3
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#5327A0
secondary
#9EC063
accent
#E444AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5327A0

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

Preview Lab → · Contrast checker → · Palette generator →

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