#5223BC#5223BC

#5223BC is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.0% C 0.215 H 287.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5223BC
RGBrgb(82, 35, 188)
HSLhsl(258, 69%, 44%)
HSVhsv(258, 81%, 74%)
CMYKcmyk(56.4%, 81.4%, 0%, 26.3%)
CIE-LABlab(30.94, 56.31, -71.45)
CIE-LCHlch(30.94, 90.97, 308.24°)
OKLaboklab(43.04% 0.0642 -0.2057)
OKLCHoklch(43.04% 0.215 287.3)
XYZxyz(13.1551, 6.6260, 48.1530)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5223BC #8DBC23
analogous
#2341BC #5223BC #9E23BC
triadic
#5223BC #BC5223 #23BC52
tetradic
#5223BC #BC2341 #8DBC23 #23BC9E
square
#5223BC #BC2341 #8DBC23 #23BC9E
split-complementary
#5223BC #BC9E23 #41BC23
monochromatic
#251055 #3B1988 #5223BC #7041DC #9774E5

Accessibility & contrast

On white

9.03
#5223BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5223BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5223BC
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5223BC#FFFFFF#000000##FFFFFF
##5223BC1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#205171
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5223bc;
/* rgb */ color: rgb(82, 35, 188);
/* oklch */ color: oklch(43.0% 0.215 287.3);
Tailwind
colors: {
  custom: {
    50: '#8f65d1',
    500: '#5223bc',
    950: '#000000',
  },
}
SCSS
$custom: #5223bc;
$custom-light: #8f65d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5223bc",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 258.431,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.21548,
    "h": 287.3
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#5223BC
secondary
#AFCC6F
accent
#EB3CB6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5223BC

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

Preview Lab → · Contrast checker → · Palette generator →

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