#5325B0#5325B0

#5325B0 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.201 H 289.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5325B0
RGBrgb(83, 37, 176)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52.8%, 79%, 0%, 31%)
CIE-LABlab(30.15, 52.36, -65.61)
CIE-LCHlch(30.15, 83.94, 308.59°)
OKLaboklab(42.16% 0.0684 -0.1887)
OKLCHoklch(42.16% 0.201 289.9)
XYZxyz(12.0631, 6.2962, 41.6455)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325B0 #82B025
analogous
#253DB0 #5325B0 #9925B0
triadic
#5325B0 #B05325 #25B053
tetradic
#5325B0 #B0253D #82B025 #25B099
square
#5325B0 #B0253D #82B025 #25B099
split-complementary
#5325B0 #B09925 #3DB025
monochromatic
#23104B #3B1A7D #5325B0 #6F3CD6 #946FE1

Accessibility & contrast

On white

9.29
#5325B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5325B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325B0
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325B0#FFFFFF#000000##FFFFFF
##5325B01.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#304D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5325b0;
/* rgb */ color: rgb(83, 37, 176);
/* oklch */ color: oklch(42.2% 0.201 289.9);
Tailwind
colors: {
  custom: {
    50: '#8e66c9',
    500: '#5325b0',
    950: '#000000',
  },
}
SCSS
$custom: #5325b0;
$custom-light: #8e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5325b0",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 259.856,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.20065,
    "h": 289.9
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#5325B0
secondary
#A8C76A
accent
#E840B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325B0

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

Preview Lab → · Contrast checker → · Palette generator →

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