#5326C7#5326C7

#5326C7 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.225 H 285.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5326C7
RGBrgb(83, 38, 199)
HSLhsl(257, 68%, 46%)
HSVhsv(257, 81%, 78%)
CMYKcmyk(58.3%, 80.9%, 0%, 22%)
CIE-LABlab(32.59, 58.15, -75.20)
CIE-LCHlch(32.59, 95.05, 307.71°)
OKLaboklab(44.54% 0.0603 -0.2166)
OKLCHoklch(44.54% 0.225 285.6)
XYZxyz(14.5661, 7.3479, 54.6725)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326C7 #9AC726
analogous
#264AC7 #5326C7 #A426C7
triadic
#5326C7 #C75326 #26C753
tetradic
#5326C7 #C7264A #9AC726 #26C7A4
square
#5326C7 #C7264A #9AC726 #26C7A4
split-complementary
#5326C7 #C7A426 #4AC726
monochromatic
#281260 #3E1C94 #5326C7 #754DDD #9D81E7

Accessibility & contrast

On white

8.50
#5326C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5326C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326C7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326C7#FFFFFF#000000##FFFFFF
##5326C71.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#105778
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5326c7;
/* rgb */ color: rgb(83, 38, 199);
/* oklch */ color: oklch(44.5% 0.225 285.6);
Tailwind
colors: {
  custom: {
    50: '#9168d9',
    500: '#5326c7',
    950: '#000000',
  },
}
SCSS
$custom: #5326c7;
$custom-light: #9168d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5326c7",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 256.77,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.22489,
    "h": 285.6
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

primary
#5326C7
secondary
#B7CF79
accent
#EB3DBA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5326C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5326C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva