#5323AE#5323AE

#5323AE is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.8% C 0.200 H 290.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5323AE
RGBrgb(83, 35, 174)
HSLhsl(261, 67%, 41%)
HSVhsv(261, 80%, 68%)
CMYKcmyk(52.3%, 79.9%, 0%, 31.8%)
CIE-LABlab(29.65, 52.69, -65.23)
CIE-LCHlch(29.65, 83.85, 308.93°)
OKLaboklab(41.76% 0.0704 -0.1875)
OKLCHoklch(41.76% 0.2 290.6)
XYZxyz(11.8061, 6.0965, 40.5909)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5323AE #7EAE23
analogous
#2339AE #5323AE #9823AE
triadic
#5323AE #AE5323 #23AE53
tetradic
#5323AE #AE2339 #7EAE23 #23AE98
square
#5323AE #AE2339 #7EAE23 #23AE98
split-complementary
#5323AE #AE9823 #39AE23
monochromatic
#220F48 #3B197B #5323AE #6E37D7 #936AE1

Accessibility & contrast

On white

9.46
#5323AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5323AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5323AE
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5323AE#FFFFFF#000000##FFFFFF
##5323AE1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#324C69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5323ae;
/* rgb */ color: rgb(83, 35, 174);
/* oklch */ color: oklch(41.8% 0.200 290.6);
Tailwind
colors: {
  custom: {
    50: '#8d65c7',
    500: '#5323ae',
    950: '#000000',
  },
}
SCSS
$custom: #5323ae;
$custom-light: #8d65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5323ae",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 260.719,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.20027,
    "h": 290.6
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#5323AE
secondary
#A5C766
accent
#E93EAE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5323AE

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

Preview Lab → · Contrast checker → · Palette generator →

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