#5326AF#5326AF

#5326AF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.199 H 290.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#5326AF
RGBrgb(83, 38, 175)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 69%)
CMYKcmyk(52.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(30.21, 51.64, -64.92)
CIE-LCHlch(30.21, 82.96, 308.50°)
OKLaboklab(42.17% 0.068 -0.1866)
OKLCHoklch(42.17% 0.199 290)
XYZxyz(11.9960, 6.3198, 41.1369)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326AF #82AF26
analogous
#263EAF #5326AF #9826AF
triadic
#5326AF #AF5326 #26AF53
tetradic
#5326AF #AF263E #82AF26 #26AF98
square
#5326AF #AF263E #82AF26 #26AF98
split-complementary
#5326AF #AF9826 #3EAF26
monochromatic
#23104A #3B1B7D #5326AF #6F3DD5 #9470E0

Accessibility & contrast

On white

9.28
#5326AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5326AF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326AF#FFFFFF#000000##FFFFFF
##5326AF1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#314D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5326af;
/* rgb */ color: rgb(83, 38, 175);
/* oklch */ color: oklch(42.2% 0.199 290.0);
Tailwind
colors: {
  custom: {
    50: '#8d66c8',
    500: '#5326af',
    950: '#000000',
  },
}
SCSS
$custom: #5326af;
$custom-light: #8d66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5326af",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 259.708,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.19862,
    "h": 290
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#5326AF
secondary
#A8C76A
accent
#E740B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5326AF

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

Preview Lab → · Contrast checker → · Palette generator →

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