#522093#522093

#522093 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.174 H 297.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#522093
RGBrgb(82, 32, 147)
HSLhsl(266, 64%, 35%)
HSVhsv(266, 78%, 58%)
CMYKcmyk(44.2%, 78.2%, 0%, 42.4%)
CIE-LABlab(26.54, 46.70, -53.93)
CIE-LCHlch(26.54, 71.34, 310.89°)
OKLaboklab(38.79% 0.0794 -0.1544)
OKLCHoklch(38.79% 0.174 297.2)
XYZxyz(9.2613, 4.9333, 28.0624)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522093 #619320
analogous
#202793 #522093 #8C2093
triadic
#522093 #935220 #209352
tetradic
#522093 #932027 #619320 #20938C
square
#522093 #932027 #619320 #20938C
split-complementary
#522093 #938C20 #279320
monochromatic
#1A0A2E #361561 #522093 #6E2BC5 #8E54DA

Accessibility & contrast

On white

10.57
#522093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522093
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522093#FFFFFF#000000##FFFFFF
##5220931.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#413F59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522093;
/* rgb */ color: rgb(82, 32, 147);
/* oklch */ color: oklch(38.8% 0.174 297.2);
Tailwind
colors: {
  custom: {
    50: '#8961b4',
    500: '#522093',
    950: '#000000',
  },
}
SCSS
$custom: #522093;
$custom-light: #8961b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522093",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 266.087,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38792,
    "c": 0.1736,
    "h": 297.2
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#522093
secondary
#8EBD52
accent
#E7419F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522093

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

Preview Lab → · Contrast checker → · Palette generator →

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