#5325A3#5325A3

#5325A3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.186 H 292.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#5325A3
RGBrgb(83, 37, 163)
HSLhsl(262, 63%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(49.1%, 77.3%, 0%, 36.1%)
CIE-LABlab(28.92, 48.85, -59.81)
CIE-LCHlch(28.92, 77.22, 309.24°)
OKLaboklab(40.93% 0.0722 -0.1716)
OKLCHoklch(40.93% 0.186 292.8)
XYZxyz(10.8379, 5.8061, 35.1929)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325A3 #75A325
analogous
#2536A3 #5325A3 #9225A3
triadic
#5325A3 #A35325 #25A353
tetradic
#5325A3 #A32536 #75A325 #25A392
square
#5325A3 #A32536 #75A325 #25A392
split-complementary
#5325A3 #A39225 #36A325
monochromatic
#200E3F #3A1A71 #5325A3 #6D34D1 #9166DC

Accessibility & contrast

On white

9.72
#5325A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5325A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325A3
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325A3#FFFFFF#000000##FFFFFF
##5325A31.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#3A4863
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5325a3;
/* rgb */ color: rgb(83, 37, 163);
/* oklch */ color: oklch(40.9% 0.186 292.8);
Tailwind
colors: {
  custom: {
    50: '#8c65bf',
    500: '#5325a3',
    950: '#000000',
  },
}
SCSS
$custom: #5325a3;
$custom-light: #8c65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5325a3",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 261.905,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4093,
    "c": 0.18622,
    "h": 292.8
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#5325A3
secondary
#9FC262
accent
#E642AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5325A3

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

Preview Lab → · Contrast checker → · Palette generator →

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