#5325A5#5325A5

#5325A5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.188 H 292.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#5325A5
RGBrgb(83, 37, 165)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 78%, 65%)
CMYKcmyk(49.7%, 77.6%, 0%, 35.3%)
CIE-LABlab(29.10, 49.39, -60.72)
CIE-LCHlch(29.10, 78.27, 309.13°)
OKLaboklab(41.12% 0.0717 -0.1743)
OKLCHoklch(41.12% 0.188 292.3)
XYZxyz(11.0185, 5.8783, 36.1441)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325A5 #77A525
analogous
#2537A5 #5325A5 #9325A5
triadic
#5325A5 #A55325 #25A553
tetradic
#5325A5 #A52537 #77A525 #25A593
square
#5325A5 #A52537 #77A525 #25A593
split-complementary
#5325A5 #A59325 #37A525
monochromatic
#210F41 #3A1A73 #5325A5 #6E35D2 #9267DD

Accessibility & contrast

On white

9.65
#5325A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5325A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325A5
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325A5#FFFFFF#000000##FFFFFF
##5325A51.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#384964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5325a5;
/* rgb */ color: rgb(83, 37, 165);
/* oklch */ color: oklch(41.1% 0.188 292.3);
Tailwind
colors: {
  custom: {
    50: '#8c65c1',
    500: '#5325a5',
    950: '#000000',
  },
}
SCSS
$custom: #5325a5;
$custom-light: #8c65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5325a5",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 261.563,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.18846,
    "h": 292.3
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#5325A5
secondary
#A0C363
accent
#E641AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5325A5

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

Preview Lab → · Contrast checker → · Palette generator →

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