#522C93#522C93

#522C93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.160 H 295.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#522C93
RGBrgb(82, 44, 147)
HSLhsl(262, 54%, 37%)
HSVhsv(262, 70%, 58%)
CMYKcmyk(44.2%, 70.1%, 0%, 42.4%)
CIE-LABlab(28.65, 40.78, -50.49)
CIE-LCHlch(28.65, 64.90, 308.92°)
OKLaboklab(40.28% 0.0679 -0.1444)
OKLCHoklch(40.28% 0.16 295.2)
XYZxyz(9.6454, 5.7016, 28.1904)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C93 #6D932C
analogous
#2C3993 #522C93 #862C93
triadic
#522C93 #93522C #2C9352
tetradic
#522C93 #932C39 #6D932C #2C9386
square
#522C93 #932C39 #6D932C #2C9386
split-complementary
#522C93 #93862C #39932C
monochromatic
#1D1035 #381E64 #522C93 #6C3AC2 #8F68D2

Accessibility & contrast

On white

9.81
#522C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#522C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C93
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C93#FFFFFF#000000##FFFFFF
##522C931.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#40455C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #522c93;
/* rgb */ color: rgb(82, 44, 147);
/* oklch */ color: oklch(40.3% 0.160 295.2);
Tailwind
colors: {
  custom: {
    50: '#8868b3',
    500: '#522c93',
    950: '#000000',
  },
}
SCSS
$custom: #522c93;
$custom-light: #8868b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522c93",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 262.136,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.15953,
    "h": 295.2
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#522C93
secondary
#99B863
accent
#DD4AA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522C93

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

Preview Lab → · Contrast checker → · Palette generator →

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