#5325C9#5325C9

#5325C9 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.228 H 285.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5325C9
RGBrgb(83, 37, 201)
HSLhsl(257, 69%, 47%)
HSVhsv(257, 82%, 79%)
CMYKcmyk(58.7%, 81.6%, 0%, 21.2%)
CIE-LABlab(32.65, 59.09, -76.25)
CIE-LCHlch(32.65, 96.47, 307.77°)
OKLaboklab(44.65% 0.0602 -0.2197)
OKLCHoklch(44.65% 0.228 285.3)
XYZxyz(14.7683, 7.3783, 55.8930)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325C9 #9BC925
analogous
#2549C9 #5325C9 #A525C9
triadic
#5325C9 #C95325 #25C953
tetradic
#5325C9 #C92549 #9BC925 #25C9A5
square
#5325C9 #C92549 #9BC925 #25C9A5
split-complementary
#5325C9 #C9A525 #49C925
monochromatic
#281262 #3E1B95 #5325C9 #764DDE #9E81E8

Accessibility & contrast

On white

8.48
#5325C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5325C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325C9
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325C9#FFFFFF#000000##FFFFFF
##5325C91.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#095879
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5325c9;
/* rgb */ color: rgb(83, 37, 201);
/* oklch */ color: oklch(44.6% 0.228 285.3);
Tailwind
colors: {
  custom: {
    50: '#9267db',
    500: '#5325c9',
    950: '#000000',
  },
}
SCSS
$custom: #5325c9;
$custom-light: #9267db;
$custom-dark: #000000;
JSON
{
  "hex": "#5325c9",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 201
  },
  "hsl": {
    "h": 256.829,
    "s": 68.908,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.22782,
    "h": 285.3
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#5325C9
secondary
#B8D079
accent
#EC3CBA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5325C9

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

Preview Lab → · Contrast checker → · Palette generator →

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