#5325BA#5325BA

#5325BA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.212 H 287.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#5325BA
RGBrgb(83, 37, 186)
HSLhsl(259, 67%, 44%)
HSVhsv(259, 80%, 73%)
CMYKcmyk(55.4%, 80.1%, 0%, 27.1%)
CIE-LABlab(31.13, 55.06, -69.95)
CIE-LCHlch(31.13, 89.02, 308.21°)
OKLaboklab(43.14% 0.0652 -0.2013)
OKLCHoklch(43.14% 0.212 287.9)
XYZxyz(13.0891, 6.7066, 47.0497)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325BA #8CBA25
analogous
#2542BA #5325BA #9D25BA
triadic
#5325BA #BA5325 #25BA53
tetradic
#5325BA #BA2542 #8CBA25 #25BA9D
square
#5325BA #BA2542 #8CBA25 #25BA9D
split-complementary
#5325BA #BA9D25 #42BA25
monochromatic
#251154 #3C1B87 #5325BA #7143DA #9876E4

Accessibility & contrast

On white

8.97
#5325BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5325BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325BA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325BA#FFFFFF#000000##FFFFFF
##5325BA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#265170
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5325ba;
/* rgb */ color: rgb(83, 37, 186);
/* oklch */ color: oklch(43.1% 0.212 287.9);
Tailwind
colors: {
  custom: {
    50: '#8f66d0',
    500: '#5325ba',
    950: '#000000',
  },
}
SCSS
$custom: #5325ba;
$custom-light: #8f66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5325ba",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 258.523,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.2116,
    "h": 287.9
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#5325BA
secondary
#AFCB70
accent
#EA3EB5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #5325BA

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

Preview Lab → · Contrast checker → · Palette generator →

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