#5325B4#5325B4

#5325B4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.205 H 289.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#5325B4
RGBrgb(83, 37, 180)
HSLhsl(259, 66%, 43%)
HSVhsv(259, 79%, 71%)
CMYKcmyk(53.9%, 79.4%, 0%, 29.4%)
CIE-LABlab(30.54, 53.44, -67.36)
CIE-LCHlch(30.54, 85.98, 308.43°)
OKLaboklab(42.55% 0.0671 -0.1937)
OKLCHoklch(42.55% 0.205 289.1)
XYZxyz(12.4647, 6.4568, 43.7607)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325B4 #86B425
analogous
#253EB4 #5325B4 #9B25B4
triadic
#5325B4 #B45325 #25B453
tetradic
#5325B4 #B4253E #86B425 #25B49B
square
#5325B4 #B4253E #86B425 #25B49B
split-complementary
#5325B4 #B49B25 #3EB425
monochromatic
#24104E #3C1B81 #5325B4 #703FD7 #9671E2

Accessibility & contrast

On white

9.16
#5325B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5325B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325B4
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325B4#FFFFFF#000000##FFFFFF
##5325B41.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#2C4F6D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5325b4;
/* rgb */ color: rgb(83, 37, 180);
/* oklch */ color: oklch(42.5% 0.205 289.1);
Tailwind
colors: {
  custom: {
    50: '#8e66cc',
    500: '#5325b4',
    950: '#000000',
  },
}
SCSS
$custom: #5325b4;
$custom-light: #8e66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5325b4",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 259.301,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.20504,
    "h": 289.1
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#5325B4
secondary
#ABC96C
accent
#E93FB2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5325B4

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

Preview Lab → · Contrast checker → · Palette generator →

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