#522893#522893

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

Color values

HEX#522893
RGBrgb(82, 40, 147)
HSLhsl(264, 57%, 37%)
HSVhsv(264, 73%, 58%)
CMYKcmyk(44.2%, 72.8%, 0%, 42.4%)
CIE-LABlab(27.89, 42.87, -51.72)
CIE-LCHlch(27.89, 67.18, 309.66°)
OKLaboklab(39.74% 0.072 -0.148)
OKLCHoklch(39.74% 0.165 295.9)
XYZxyz(9.5035, 5.4178, 28.1431)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522893 #699328
analogous
#283493 #522893 #882893
triadic
#522893 #935228 #289352
tetradic
#522893 #932834 #699328 #289388
square
#522893 #932834 #699328 #289388
split-complementary
#522893 #938828 #349328
monochromatic
#1C0E33 #371B63 #522893 #6D35C3 #8E61D4

Accessibility & contrast

On white

10.08
#522893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522893
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522893#FFFFFF#000000##FFFFFF
##5228931.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#41435B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522893;
/* rgb */ color: rgb(82, 40, 147);
/* oklch */ color: oklch(39.7% 0.165 295.9);
Tailwind
colors: {
  custom: {
    50: '#8966b4',
    500: '#522893',
    950: '#000000',
  },
}
SCSS
$custom: #522893;
$custom-light: #8966b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522893",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 263.551,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39743,
    "c": 0.16454,
    "h": 295.9
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#522893
secondary
#95BA5D
accent
#E047A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522893

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

Preview Lab → · Contrast checker → · Palette generator →

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