#5223B0#5223B0

#5223B0 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.9% C 0.202 H 289.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#5223B0
RGBrgb(82, 35, 176)
HSLhsl(260, 67%, 41%)
HSVhsv(260, 80%, 69%)
CMYKcmyk(53.4%, 80.1%, 0%, 31%)
CIE-LABlab(29.74, 53.09, -66.29)
CIE-LCHlch(29.74, 84.93, 308.69°)
OKLaboklab(41.85% 0.0682 -0.1906)
OKLCHoklch(41.85% 0.202 289.7)
XYZxyz(11.9149, 6.1299, 41.6213)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5223B0 #81B023
analogous
#233BB0 #5223B0 #9923B0
triadic
#5223B0 #B05223 #23B052
tetradic
#5223B0 #B0233B #81B023 #23B099
square
#5223B0 #B0233B #81B023 #23B099
split-complementary
#5223B0 #B09923 #3BB023
monochromatic
#220F4A #3A197D #5223B0 #6E39D8 #936CE2

Accessibility & contrast

On white

9.43
#5223B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5223B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5223B0
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5223B0#FFFFFF#000000##FFFFFF
##5223B01.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#2E4C6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5223b0;
/* rgb */ color: rgb(82, 35, 176);
/* oklch */ color: oklch(41.9% 0.202 289.7);
Tailwind
colors: {
  custom: {
    50: '#8d65c9',
    500: '#5223b0',
    950: '#000000',
  },
}
SCSS
$custom: #5223b0;
$custom-light: #8d65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5223b0",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 260,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41851,
    "c": 0.20247,
    "h": 289.7
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#5223B0
secondary
#A8C867
accent
#EA3EB1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5223B0

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

Preview Lab → · Contrast checker → · Palette generator →

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