#5325C4#5325C4

#5325C4 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.222 H 286.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5325C4
RGBrgb(83, 37, 196)
HSLhsl(257, 68%, 46%)
HSVhsv(257, 81%, 77%)
CMYKcmyk(57.7%, 81.1%, 0%, 23.1%)
CIE-LABlab(32.14, 57.75, -74.18)
CIE-LCHlch(32.14, 94.01, 307.90°)
OKLaboklab(44.14% 0.0619 -0.2137)
OKLCHoklch(44.14% 0.222 286.2)
XYZxyz(14.1896, 7.1468, 52.8456)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325C4 #96C425
analogous
#2547C4 #5325C4 #A225C4
triadic
#5325C4 #C45325 #25C453
tetradic
#5325C4 #C42547 #96C425 #25C4A2
square
#5325C4 #C42547 #96C425 #25C4A2
split-complementary
#5325C4 #C4A225 #47C425
monochromatic
#27125D #3D1B91 #5325C4 #7449DD #9B7DE6

Accessibility & contrast

On white

8.64
#5325C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5325C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325C4
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325C4#FFFFFF#000000##FFFFFF
##5325C41.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#175576
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5325c4;
/* rgb */ color: rgb(83, 37, 196);
/* oklch */ color: oklch(44.1% 0.222 286.2);
Tailwind
colors: {
  custom: {
    50: '#9167d7',
    500: '#5325c4',
    950: '#000000',
  },
}
SCSS
$custom: #5325c4;
$custom-light: #9167d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5325c4",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 257.358,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.22244,
    "h": 286.2
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#5325C4
secondary
#B5CF76
accent
#EB3DB9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5325C4

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

Preview Lab → · Contrast checker → · Palette generator →

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