#522892#522892

#522892 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.163 H 296.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#522892
RGBrgb(82, 40, 146)
HSLhsl(264, 57%, 36%)
HSVhsv(264, 73%, 57%)
CMYKcmyk(43.8%, 72.6%, 0%, 42.7%)
CIE-LABlab(27.81, 42.60, -51.24)
CIE-LCHlch(27.81, 66.64, 309.74°)
OKLaboklab(39.66% 0.0722 -0.1466)
OKLCHoklch(39.66% 0.163 296.2)
XYZxyz(9.4254, 5.3865, 27.7317)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522892 #689228
analogous
#283392 #522892 #872892
triadic
#522892 #925228 #289252
tetradic
#522892 #922833 #689228 #289287
square
#522892 #922833 #689228 #289287
split-complementary
#522892 #928728 #339228
monochromatic
#1C0E32 #371B62 #522892 #6D35C2 #8E61D4

Accessibility & contrast

On white

10.11
#522892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522892
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522892#FFFFFF#000000##FFFFFF
##5228921.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#41435A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522892;
/* rgb */ color: rgb(82, 40, 146);
/* oklch */ color: oklch(39.7% 0.163 296.2);
Tailwind
colors: {
  custom: {
    50: '#8966b3',
    500: '#522892',
    950: '#000000',
  },
}
SCSS
$custom: #522892;
$custom-light: #8966b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522892",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 263.774,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.16337,
    "h": 296.2
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#522892
secondary
#95B95D
accent
#E048A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522892

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

Preview Lab → · Contrast checker → · Palette generator →

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