#522F92#522F92

#522F92 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.154 H 294.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#522F92
RGBrgb(82, 47, 146)
HSLhsl(261, 51%, 38%)
HSVhsv(261, 68%, 57%)
CMYKcmyk(43.8%, 67.8%, 0%, 42.7%)
CIE-LABlab(29.16, 38.85, -49.04)
CIE-LCHlch(29.16, 62.56, 308.39°)
OKLaboklab(40.63% 0.0648 -0.1401)
OKLCHoklch(40.63% 0.154 294.8)
XYZxyz(9.6831, 5.9020, 27.8176)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F92 #6F922F
analogous
#2F3E92 #522F92 #832F92
triadic
#522F92 #92522F #2F9252
tetradic
#522F92 #922F3E #6F922F #2F9283
square
#522F92 #922F3E #6F922F #2F9283
split-complementary
#522F92 #92832F #3E922F
monochromatic
#1E1135 #382064 #522F92 #6C3EC0 #8F6CD0

Accessibility & contrast

On white

9.63
#522F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#522F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F92
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F92#FFFFFF#000000##FFFFFF
##522F921.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#41475C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #522f92;
/* rgb */ color: rgb(82, 47, 146);
/* oklch */ color: oklch(40.6% 0.154 294.8);
Tailwind
colors: {
  custom: {
    50: '#886ab3',
    500: '#522f92',
    950: '#000000',
  },
}
SCSS
$custom: #522f92;
$custom-light: #886ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#522f92",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 261.212,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.15436,
    "h": 294.8
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#522F92
secondary
#9AB766
accent
#DB4DA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522F92

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

Preview Lab → · Contrast checker → · Palette generator →

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