#5328AF#5328AF

#5328AF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.197 H 289.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5328AF
RGBrgb(83, 40, 175)
HSLhsl(259, 63%, 42%)
HSVhsv(259, 77%, 69%)
CMYKcmyk(52.6%, 77.1%, 0%, 31.4%)
CIE-LABlab(30.52, 50.73, -64.40)
CIE-LCHlch(30.52, 81.98, 308.23°)
OKLaboklab(42.39% 0.0665 -0.1851)
OKLCHoklch(42.39% 0.197 289.8)
XYZxyz(12.0617, 6.4512, 41.1588)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328AF #84AF28
analogous
#2841AF #5328AF #9728AF
triadic
#5328AF #AF5328 #28AF53
tetradic
#5328AF #AF2841 #84AF28 #28AF97
square
#5328AF #AF2841 #84AF28 #28AF97
split-complementary
#5328AF #AF9728 #41AF28
monochromatic
#24114B #3B1D7D #5328AF #6F41D4 #9573DF

Accessibility & contrast

On white

9.17
#5328AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5328AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328AF
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328AF#FFFFFF#000000##FFFFFF
##5328AF1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#314E6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5328af;
/* rgb */ color: rgb(83, 40, 175);
/* oklch */ color: oklch(42.4% 0.197 289.8);
Tailwind
colors: {
  custom: {
    50: '#8d67c8',
    500: '#5328af',
    950: '#000000',
  },
}
SCSS
$custom: #5328af;
$custom-light: #8d67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5328af",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 259.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.19669,
    "h": 289.8
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#5328AF
secondary
#AAC66D
accent
#E642B2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5328AF

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

Preview Lab → · Contrast checker → · Palette generator →

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