#522E91#522E91

#522E91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.154 H 295.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#522E91
RGBrgb(82, 46, 145)
HSLhsl(262, 52%, 37%)
HSVhsv(262, 68%, 57%)
CMYKcmyk(43.4%, 68.3%, 0%, 43.1%)
CIE-LABlab(28.88, 39.12, -48.88)
CIE-LCHlch(28.88, 62.61, 308.67°)
OKLaboklab(40.4% 0.066 -0.1396)
OKLCHoklch(40.4% 0.154 295.3)
XYZxyz(9.5661, 5.7919, 27.3965)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E91 #6D912E
analogous
#2E3C91 #522E91 #832E91
triadic
#522E91 #91522E #2E9152
tetradic
#522E91 #912E3C #6D912E #2E9183
square
#522E91 #912E3C #6D912E #2E9183
split-complementary
#522E91 #91832E #3C912E
monochromatic
#1D1134 #381F63 #522E91 #6C3DBF #8F6AD0

Accessibility & contrast

On white

9.73
#522E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522E91
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E91#FFFFFF#000000##FFFFFF
##522E911.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#41465B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #522e91;
/* rgb */ color: rgb(82, 46, 145);
/* oklch */ color: oklch(40.4% 0.154 295.3);
Tailwind
colors: {
  custom: {
    50: '#8869b2',
    500: '#522e91',
    950: '#000000',
  },
}
SCSS
$custom: #522e91;
$custom-light: #8869b2;
$custom-dark: #000000;
JSON
{
  "hex": "#522e91",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 261.818,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.15447,
    "h": 295.3
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#522E91
secondary
#99B764
accent
#DB4DA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522E91

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

Preview Lab → · Contrast checker → · Palette generator →

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