#522C92#522C92

#522C92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.158 H 295.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#522C92
RGBrgb(82, 44, 146)
HSLhsl(262, 54%, 37%)
HSVhsv(262, 70%, 57%)
CMYKcmyk(43.8%, 69.9%, 0%, 42.7%)
CIE-LABlab(28.56, 40.50, -50.01)
CIE-LCHlch(28.56, 64.35, 309.00°)
OKLaboklab(40.2% 0.068 -0.143)
OKLCHoklch(40.2% 0.158 295.4)
XYZxyz(9.5673, 5.6703, 27.7790)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C92 #6C922C
analogous
#2C3992 #522C92 #852C92
triadic
#522C92 #92522C #2C9252
tetradic
#522C92 #922C39 #6C922C #2C9285
square
#522C92 #922C39 #6C922C #2C9285
split-complementary
#522C92 #92852C #39922C
monochromatic
#1D1034 #381E63 #522C92 #6C3AC1 #8F67D1

Accessibility & contrast

On white

9.84
#522C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#522C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C92
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C92#FFFFFF#000000##FFFFFF
##522C921.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#41455B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522c92;
/* rgb */ color: rgb(82, 44, 146);
/* oklch */ color: oklch(40.2% 0.158 295.4);
Tailwind
colors: {
  custom: {
    50: '#8868b3',
    500: '#522c92',
    950: '#000000',
  },
}
SCSS
$custom: #522c92;
$custom-light: #8868b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522c92",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 262.353,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.15832,
    "h": 295.4
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#522C92
secondary
#98B862
accent
#DD4BA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522C92

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

Preview Lab → · Contrast checker → · Palette generator →

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