#522B90#522B90

#522B90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.157 H 296.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#522B90
RGBrgb(82, 43, 144)
HSLhsl(263, 54%, 37%)
HSVhsv(263, 70%, 56%)
CMYKcmyk(43.1%, 70.1%, 0%, 43.5%)
CIE-LABlab(28.21, 40.48, -49.36)
CIE-LCHlch(28.21, 63.84, 309.35°)
OKLaboklab(39.89% 0.0694 -0.141)
OKLCHoklch(39.89% 0.157 296.2)
XYZxyz(9.3763, 5.5350, 26.9545)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B90 #69902B
analogous
#2B3790 #522B90 #852B90
triadic
#522B90 #90522B #2B9052
tetradic
#522B90 #902B37 #69902B #2B9085
square
#522B90 #902B37 #69902B #2B9085
split-complementary
#522B90 #90852B #37902B
monochromatic
#1C0F32 #371D61 #522B90 #6D39BF #8E65D1

Accessibility & contrast

On white

9.97
#522B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#522B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B90
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B90#FFFFFF#000000##FFFFFF
##522B901.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#42445A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522b90;
/* rgb */ color: rgb(82, 43, 144);
/* oklch */ color: oklch(39.9% 0.157 296.2);
Tailwind
colors: {
  custom: {
    50: '#8867b1',
    500: '#522b90',
    950: '#000000',
  },
}
SCSS
$custom: #522b90;
$custom-light: #8867b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522b90",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 263.168,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3989,
    "c": 0.15721,
    "h": 296.2
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#522B90
secondary
#95B760
accent
#DD4AA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522B90

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

Preview Lab → · Contrast checker → · Palette generator →

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