#522CBD#522CBD

#522CBD is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.209 H 286.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#522CBD
RGBrgb(82, 44, 189)
HSLhsl(256, 62%, 46%)
HSVhsv(256, 77%, 74%)
CMYKcmyk(56.6%, 76.7%, 0%, 25.9%)
CIE-LABlab(32.41, 52.62, -69.61)
CIE-LCHlch(32.41, 87.26, 307.08°)
OKLaboklab(44.09% 0.0581 -0.2004)
OKLCHoklch(44.09% 0.209 286.2)
XYZxyz(13.5629, 7.2685, 48.8225)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CBD #97BD2C
analogous
#2C4EBD #522CBD #9A2CBD
triadic
#522CBD #BD522C #2CBD52
tetradic
#522CBD #BD2C4E #97BD2C #2CBD9A
square
#522CBD #BD2C4E #97BD2C #2CBD9A
split-complementary
#522CBD #BD9A2C #4EBD2C
monochromatic
#27155A #3C208B #522CBD #7350D6 #9B82E2

Accessibility & contrast

On white

8.56
#522CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#522CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CBD
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CBD#FFFFFF#000000##FFFFFF
##522CBD1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#1E5573
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #522cbd;
/* rgb */ color: rgb(82, 44, 189);
/* oklch */ color: oklch(44.1% 0.209 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f6ad2',
    500: '#522cbd',
    950: '#000000',
  },
}
SCSS
$custom: #522cbd;
$custom-light: #8f6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#522cbd",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 255.724,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.2087,
    "h": 286.2
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#522CBD
secondary
#B6CB7A
accent
#E542BB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522CBD

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

Preview Lab → · Contrast checker → · Palette generator →

#522CBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva