#5325A9#5325A9

#5325A9 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.193 H 291.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5325A9
RGBrgb(83, 37, 169)
HSLhsl(261, 64%, 40%)
HSVhsv(261, 78%, 66%)
CMYKcmyk(50.9%, 78.1%, 0%, 33.7%)
CIE-LABlab(29.48, 50.47, -62.51)
CIE-LCHlch(29.48, 80.34, 308.91°)
OKLaboklab(41.49% 0.0705 -0.1796)
OKLCHoklch(41.49% 0.193 291.4)
XYZxyz(11.3882, 6.0263, 38.0916)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325A9 #7BA925
analogous
#2539A9 #5325A9 #9525A9
triadic
#5325A9 #A95325 #25A953
tetradic
#5325A9 #A92539 #7BA925 #25A995
square
#5325A9 #A92539 #7BA925 #25A995
split-complementary
#5325A9 #A99525 #39A925
monochromatic
#220F45 #3A1A77 #5325A9 #6E38D3 #936ADE

Accessibility & contrast

On white

9.52
#5325A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5325A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325A9
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325A9#FFFFFF#000000##FFFFFF
##5325A91.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#364A66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5325a9;
/* rgb */ color: rgb(83, 37, 169);
/* oklch */ color: oklch(41.5% 0.193 291.4);
Tailwind
colors: {
  custom: {
    50: '#8d65c4',
    500: '#5325a9',
    950: '#000000',
  },
}
SCSS
$custom: #5325a9;
$custom-light: #8d65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5325a9",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 260.909,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.19291,
    "h": 291.4
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#5325A9
secondary
#A3C465
accent
#E741AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325A9

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

Preview Lab → · Contrast checker → · Palette generator →

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