#5328A0#5328A0

#5328A0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.180 H 293.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5328A0
RGBrgb(83, 40, 160)
HSLhsl(262, 60%, 39%)
HSVhsv(262, 75%, 63%)
CMYKcmyk(48.1%, 75%, 0%, 37.3%)
CIE-LABlab(29.14, 46.61, -57.62)
CIE-LCHlch(29.14, 74.11, 308.97°)
OKLaboklab(41.01% 0.0705 -0.1652)
OKLCHoklch(41.01% 0.18 293.1)
XYZxyz(10.6695, 5.8943, 33.8264)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328A0 #75A028
analogous
#2839A0 #5328A0 #8F28A0
triadic
#5328A0 #A05328 #28A053
tetradic
#5328A0 #A02839 #75A028 #28A08F
square
#5328A0 #A02839 #75A028 #28A08F
split-complementary
#5328A0 #A08F28 #39A028
monochromatic
#20103E #3A1C6F #5328A0 #6D38CD #9169D9

Accessibility & contrast

On white

9.64
#5328A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5328A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328A0
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328A0#FFFFFF#000000##FFFFFF
##5328A01.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5328a0;
/* rgb */ color: rgb(83, 40, 160);
/* oklch */ color: oklch(41.0% 0.180 293.1);
Tailwind
colors: {
  custom: {
    50: '#8b66bd',
    500: '#5328a0',
    950: '#000000',
  },
}
SCSS
$custom: #5328a0;
$custom-light: #8b66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5328a0",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 261.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.17966,
    "h": 293.1
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#5328A0
secondary
#9FC064
accent
#E345AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5328A0

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

Preview Lab → · Contrast checker → · Palette generator →

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