#5326AE#5326AE

#5326AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.198 H 290.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5326AE
RGBrgb(83, 38, 174)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 68%)
CMYKcmyk(52.3%, 78.2%, 0%, 31.8%)
CIE-LABlab(30.11, 51.37, -64.48)
CIE-LCHlch(30.11, 82.44, 308.55°)
OKLaboklab(42.08% 0.0683 -0.1853)
OKLCHoklch(42.08% 0.198 290.2)
XYZxyz(11.8982, 6.2807, 40.6216)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326AE #81AE26
analogous
#263DAE #5326AE #9726AE
triadic
#5326AE #AE5326 #26AE53
tetradic
#5326AE #AE263D #81AE26 #26AE97
square
#5326AE #AE263D #81AE26 #26AE97
split-complementary
#5326AE #AE9726 #3DAE26
monochromatic
#23104A #3B1B7C #5326AE #6F3DD5 #946FE0

Accessibility & contrast

On white

9.31
#5326AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5326AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326AE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326AE#FFFFFF#000000##FFFFFF
##5326AE1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#324D69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5326ae;
/* rgb */ color: rgb(83, 38, 174);
/* oklch */ color: oklch(42.1% 0.198 290.2);
Tailwind
colors: {
  custom: {
    50: '#8d66c7',
    500: '#5326ae',
    950: '#000000',
  },
}
SCSS
$custom: #5326ae;
$custom-light: #8d66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5326ae",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 259.853,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.1975,
    "h": 290.2
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#5326AE
secondary
#A8C66A
accent
#E741B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5326AE

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

Preview Lab → · Contrast checker → · Palette generator →

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