#5325BC#5325BC

#5325BC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.214 H 287.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5325BC
RGBrgb(83, 37, 188)
HSLhsl(258, 67%, 44%)
HSVhsv(258, 80%, 74%)
CMYKcmyk(55.9%, 80.3%, 0%, 26.3%)
CIE-LABlab(31.33, 55.60, -70.80)
CIE-LCHlch(31.33, 90.02, 308.14°)
OKLaboklab(43.34% 0.0645 -0.2038)
OKLCHoklch(43.34% 0.214 287.6)
XYZxyz(13.3032, 6.7923, 48.1773)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325BC #8EBC25
analogous
#2543BC #5325BC #9F25BC
triadic
#5325BC #BC5325 #25BC53
tetradic
#5325BC #BC2543 #8EBC25 #25BC9F
square
#5325BC #BC2543 #8EBC25 #25BC9F
split-complementary
#5325BC #BC9F25 #43BC25
monochromatic
#261156 #3C1B89 #5325BC #7244DA #9877E4

Accessibility & contrast

On white

8.90
#5325BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5325BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325BC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325BC#FFFFFF#000000##FFFFFF
##5325BC1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#245271
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5325bc;
/* rgb */ color: rgb(83, 37, 188);
/* oklch */ color: oklch(43.3% 0.214 287.6);
Tailwind
colors: {
  custom: {
    50: '#8f66d1',
    500: '#5325bc',
    950: '#000000',
  },
}
SCSS
$custom: #5325bc;
$custom-light: #8f66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5325bc",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 258.278,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.21378,
    "h": 287.6
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#5325BC
secondary
#B0CC71
accent
#EA3EB6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5325BC

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

Preview Lab → · Contrast checker → · Palette generator →

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