#522290#522290

#522290 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.168 H 297.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#522290
RGBrgb(82, 34, 144)
HSLhsl(266, 62%, 35%)
HSVhsv(266, 76%, 56%)
CMYKcmyk(43.1%, 76.4%, 0%, 43.5%)
CIE-LABlab(26.60, 45.00, -51.99)
CIE-LCHlch(26.60, 68.76, 310.88°)
OKLaboklab(38.75% 0.0784 -0.1487)
OKLCHoklch(38.75% 0.168 297.8)
XYZxyz(9.0844, 4.9514, 26.8572)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522290 #609022
analogous
#222990 #522290 #892290
triadic
#522290 #905222 #229052
tetradic
#522290 #902229 #609022 #229089
square
#522290 #902229 #609022 #229089
split-complementary
#522290 #908922 #299022
monochromatic
#1A0B2D #36165E #522290 #6E2EC2 #8E55D7

Accessibility & contrast

On white

10.55
#522290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#522290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522290
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522290#FFFFFF#000000##FFFFFF
##5222901.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#423F57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522290;
/* rgb */ color: rgb(82, 34, 144);
/* oklch */ color: oklch(38.7% 0.168 297.8);
Tailwind
colors: {
  custom: {
    50: '#8962b1',
    500: '#522290',
    950: '#000000',
  },
}
SCSS
$custom: #522290;
$custom-light: #8962b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522290",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 266.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.16811,
    "h": 297.8
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#522290
secondary
#8EBB53
accent
#E5439E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522290

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

Preview Lab → · Contrast checker → · Palette generator →

#522290 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva