#5325A7#5325A7

#5325A7 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.191 H 291.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5325A7
RGBrgb(83, 37, 167)
HSLhsl(261, 64%, 40%)
HSVhsv(261, 78%, 65%)
CMYKcmyk(50.3%, 77.8%, 0%, 34.5%)
CIE-LABlab(29.29, 49.93, -61.62)
CIE-LCHlch(29.29, 79.31, 309.02°)
OKLaboklab(41.3% 0.0711 -0.1769)
OKLCHoklch(41.3% 0.191 291.9)
XYZxyz(11.2019, 5.9517, 37.1103)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325A7 #79A725
analogous
#2538A7 #5325A7 #9425A7
triadic
#5325A7 #A75325 #25A753
tetradic
#5325A7 #A72538 #79A725 #25A794
square
#5325A7 #A72538 #79A725 #25A794
split-complementary
#5325A7 #A79425 #38A725
monochromatic
#210F43 #3A1A75 #5325A7 #6E37D3 #9269DE

Accessibility & contrast

On white

9.59
#5325A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5325A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325A7
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325A7#FFFFFF#000000##FFFFFF
##5325A71.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#374965
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5325a7;
/* rgb */ color: rgb(83, 37, 167);
/* oklch */ color: oklch(41.3% 0.191 291.9);
Tailwind
colors: {
  custom: {
    50: '#8c65c2',
    500: '#5325a7',
    950: '#000000',
  },
}
SCSS
$custom: #5325a7;
$custom-light: #8c65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5325a7",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 261.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.19069,
    "h": 291.9
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#5325A7
secondary
#A2C464
accent
#E741AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325A7

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

Preview Lab → · Contrast checker → · Palette generator →

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