#522E90#522E90

#522E90 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.153 H 295.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#522E90
RGBrgb(82, 46, 144)
HSLhsl(262, 52%, 37%)
HSVhsv(262, 68%, 56%)
CMYKcmyk(43.1%, 68.1%, 0%, 43.5%)
CIE-LABlab(28.80, 38.84, -48.39)
CIE-LCHlch(28.80, 62.05, 308.75°)
OKLaboklab(40.32% 0.0662 -0.1382)
OKLCHoklch(40.32% 0.153 295.6)
XYZxyz(9.4894, 5.7612, 26.9922)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E90 #6C902E
analogous
#2E3B90 #522E90 #832E90
triadic
#522E90 #90522E #2E9052
tetradic
#522E90 #902E3B #6C902E #2E9083
square
#522E90 #902E3B #6C902E #2E9083
split-complementary
#522E90 #90832E #3B902E
monochromatic
#1D1033 #381F62 #522E90 #6C3DBE #8F69CF

Accessibility & contrast

On white

9.76
#522E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#522E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E90
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E90#FFFFFF#000000##FFFFFF
##522E901.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#42455B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #522e90;
/* rgb */ color: rgb(82, 46, 144);
/* oklch */ color: oklch(40.3% 0.153 295.6);
Tailwind
colors: {
  custom: {
    50: '#8869b1',
    500: '#522e90',
    950: '#000000',
  },
}
SCSS
$custom: #522e90;
$custom-light: #8869b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522e90",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 262.041,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.15323,
    "h": 295.6
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#522E90
secondary
#98B664
accent
#DB4DA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522E90

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

Preview Lab → · Contrast checker → · Palette generator →

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