#522990#522990

#522990 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.160 H 296.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#522990
RGBrgb(82, 41, 144)
HSLhsl(264, 56%, 36%)
HSVhsv(264, 72%, 56%)
CMYKcmyk(43.1%, 71.5%, 0%, 43.5%)
CIE-LABlab(27.83, 41.54, -49.98)
CIE-LCHlch(27.83, 64.99, 309.73°)
OKLaboklab(39.62% 0.0715 -0.1429)
OKLCHoklch(39.62% 0.16 296.6)
XYZxyz(9.3053, 5.3931, 26.9309)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522990 #679029
analogous
#293490 #522990 #862990
triadic
#522990 #905229 #299052
tetradic
#522990 #902934 #679029 #299086
square
#522990 #902934 #679029 #299086
split-complementary
#522990 #908629 #349029
monochromatic
#1C0E31 #371B60 #522990 #6D37C0 #8E61D2

Accessibility & contrast

On white

10.10
#522990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#522990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522990
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522990#FFFFFF#000000##FFFFFF
##5229901.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#424259
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522990;
/* rgb */ color: rgb(82, 41, 144);
/* oklch */ color: oklch(39.6% 0.160 296.6);
Tailwind
colors: {
  custom: {
    50: '#8866b1',
    500: '#522990',
    950: '#000000',
  },
}
SCSS
$custom: #522990;
$custom-light: #8866b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522990",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 263.883,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.15977,
    "h": 296.6
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#522990
secondary
#94B85D
accent
#DF49A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522990

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

Preview Lab → · Contrast checker → · Palette generator →

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