#5223AE#5223AE

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

Color values

HEX#5223AE
RGBrgb(82, 35, 174)
HSLhsl(260, 67%, 41%)
HSVhsv(260, 80%, 68%)
CMYKcmyk(52.9%, 79.9%, 0%, 31.8%)
CIE-LABlab(29.54, 52.56, -65.42)
CIE-LCHlch(29.54, 83.91, 308.78°)
OKLaboklab(41.66% 0.0688 -0.1881)
OKLCHoklch(41.66% 0.2 290.1)
XYZxyz(11.7185, 6.0514, 40.5868)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5223AE #7FAE23
analogous
#2339AE #5223AE #9723AE
triadic
#5223AE #AE5223 #23AE52
tetradic
#5223AE #AE2339 #7FAE23 #23AE97
square
#5223AE #AE2339 #7FAE23 #23AE97
split-complementary
#5223AE #AE9723 #39AE23
monochromatic
#220F48 #3A197B #5223AE #6D37D7 #926AE1

Accessibility & contrast

On white

9.50
#5223AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5223AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5223AE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5223AE#FFFFFF#000000##FFFFFF
##5223AE1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#2F4C69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5223ae;
/* rgb */ color: rgb(82, 35, 174);
/* oklch */ color: oklch(41.7% 0.200 290.1);
Tailwind
colors: {
  custom: {
    50: '#8d64c7',
    500: '#5223ae',
    950: '#000000',
  },
}
SCSS
$custom: #5223ae;
$custom-light: #8d64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5223ae",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 260.288,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41656,
    "c": 0.20028,
    "h": 290.1
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#5223AE
secondary
#A6C766
accent
#E93EB0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5223AE

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

Preview Lab → · Contrast checker → · Palette generator →

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