#522E92#522E92

#522E92 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.156 H 295.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#522E92
RGBrgb(82, 46, 146)
HSLhsl(262, 52%, 38%)
HSVhsv(262, 68%, 57%)
CMYKcmyk(43.8%, 68.5%, 0%, 42.7%)
CIE-LABlab(28.96, 39.41, -49.37)
CIE-LCHlch(28.96, 63.17, 308.60°)
OKLaboklab(40.48% 0.0659 -0.1411)
OKLCHoklch(40.48% 0.156 295)
XYZxyz(9.6436, 5.8229, 27.8044)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E92 #6E922E
analogous
#2E3C92 #522E92 #842E92
triadic
#522E92 #92522E #2E9252
tetradic
#522E92 #922E3C #6E922E #2E9284
square
#522E92 #922E3C #6E922E #2E9284
split-complementary
#522E92 #92842E #3C922E
monochromatic
#1E1135 #381F63 #522E92 #6C3DC1 #8F6AD0

Accessibility & contrast

On white

9.70
#522E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#522E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E92
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E92#FFFFFF#000000##FFFFFF
##522E921.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#41465C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #522e92;
/* rgb */ color: rgb(82, 46, 146);
/* oklch */ color: oklch(40.5% 0.156 295.0);
Tailwind
colors: {
  custom: {
    50: '#8869b3',
    500: '#522e92',
    950: '#000000',
  },
}
SCSS
$custom: #522e92;
$custom-light: #8869b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522e92",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 261.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4048,
    "c": 0.1557,
    "h": 295
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#522E92
secondary
#99B765
accent
#DC4CA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522E92

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

Preview Lab → · Contrast checker → · Palette generator →

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