#5325A4#5325A4

#5325A4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.187 H 292.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5325A4
RGBrgb(83, 37, 164)
HSLhsl(262, 63%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(49.4%, 77.4%, 0%, 35.7%)
CIE-LABlab(29.01, 49.12, -60.26)
CIE-LCHlch(29.01, 77.74, 309.18°)
OKLaboklab(41.02% 0.0719 -0.173)
OKLCHoklch(41.02% 0.187 292.6)
XYZxyz(10.9278, 5.8421, 35.6666)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325A4 #76A425
analogous
#2537A4 #5325A4 #9325A4
triadic
#5325A4 #A45325 #25A453
tetradic
#5325A4 #A42537 #76A425 #25A493
square
#5325A4 #A42537 #76A425 #25A493
split-complementary
#5325A4 #A49325 #37A425
monochromatic
#200E40 #3A1A72 #5325A4 #6E35D1 #9167DD

Accessibility & contrast

On white

9.68
#5325A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5325A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325A4
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325A4#FFFFFF#000000##FFFFFF
##5325A41.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#394863
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5325a4;
/* rgb */ color: rgb(83, 37, 164);
/* oklch */ color: oklch(41.0% 0.187 292.6);
Tailwind
colors: {
  custom: {
    50: '#8c65c0',
    500: '#5325a4',
    950: '#000000',
  },
}
SCSS
$custom: #5325a4;
$custom-light: #8c65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5325a4",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 261.732,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41023,
    "c": 0.18734,
    "h": 292.6
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#5325A4
secondary
#A0C262
accent
#E642AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5325A4

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

Preview Lab → · Contrast checker → · Palette generator →

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