#5325AE#5325AE

#5325AE is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.198 H 290.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#5325AE
RGBrgb(83, 37, 174)
HSLhsl(260, 65%, 41%)
HSVhsv(260, 79%, 68%)
CMYKcmyk(52.3%, 78.7%, 0%, 31.8%)
CIE-LABlab(29.95, 51.82, -64.73)
CIE-LCHlch(29.95, 82.92, 308.68°)
OKLaboklab(41.97% 0.069 -0.1861)
OKLCHoklch(41.97% 0.198 290.3)
XYZxyz(11.8666, 6.2176, 40.6110)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325AE #80AE25
analogous
#253CAE #5325AE #9825AE
triadic
#5325AE #AE5325 #25AE53
tetradic
#5325AE #AE253C #80AE25 #25AE98
square
#5325AE #AE253C #80AE25 #25AE98
split-complementary
#5325AE #AE9825 #3CAE25
monochromatic
#231049 #3B1A7C #5325AE #6F3BD5 #946DE0

Accessibility & contrast

On white

9.36
#5325AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5325AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325AE
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325AE#FFFFFF#000000##FFFFFF
##5325AE1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#324C69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5325ae;
/* rgb */ color: rgb(83, 37, 174);
/* oklch */ color: oklch(42.0% 0.198 290.3);
Tailwind
colors: {
  custom: {
    50: '#8d66c7',
    500: '#5325ae',
    950: '#000000',
  },
}
SCSS
$custom: #5325ae;
$custom-light: #8d66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5325ae",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 260.146,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.19844,
    "h": 290.3
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#5325AE
secondary
#A7C668
accent
#E840AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5325AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva