#522CC3#522CC3

#522CC3 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.215 H 285.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#522CC3
RGBrgb(82, 44, 195)
HSLhsl(255, 63%, 47%)
HSVhsv(255, 77%, 76%)
CMYKcmyk(57.9%, 77.4%, 0%, 23.5%)
CIE-LABlab(32.99, 54.30, -72.18)
CIE-LCHlch(32.99, 90.33, 306.95°)
OKLaboklab(44.68% 0.0564 -0.2079)
OKLCHoklch(44.68% 0.215 285.2)
XYZxyz(14.2277, 7.5345, 52.3238)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CC3 #9DC32C
analogous
#2C52C3 #522CC3 #9E2CC3
triadic
#522CC3 #C3522C #2CC352
tetradic
#522CC3 #C32C52 #9DC32C #2CC39E
square
#522CC3 #C32C52 #9DC32C #2CC39E
split-complementary
#522CC3 #C39E2C #52C32C
monochromatic
#28155F #3D2191 #522CC3 #7554D8 #9D86E4

Accessibility & contrast

On white

8.38
#522CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#522CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CC3
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CC3#FFFFFF#000000##FFFFFF
##522CC31.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#135877
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #522cc3;
/* rgb */ color: rgb(82, 44, 195);
/* oklch */ color: oklch(44.7% 0.215 285.2);
Tailwind
colors: {
  custom: {
    50: '#906ad6',
    500: '#522cc3',
    950: '#000000',
  },
}
SCSS
$custom: #522cc3;
$custom-light: #906ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#522cc3",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 255.099,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.21547,
    "h": 285.2
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#522CC3
secondary
#B9CD7E
accent
#E642BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #522CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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