#522083#522083

#522083 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.156 H 302.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#522083
RGBrgb(82, 32, 131)
HSLhsl(270, 61%, 32%)
HSVhsv(270, 76%, 51%)
CMYKcmyk(37.4%, 75.6%, 0%, 48.6%)
CIE-LABlab(25.15, 42.57, -46.23)
CIE-LCHlch(25.15, 62.85, 312.64°)
OKLaboklab(37.39% 0.0834 -0.1318)
OKLCHoklch(37.39% 0.156 302.3)
XYZxyz(8.0919, 4.4655, 21.9040)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522083 #518320
analogous
#212083 #522083 #832083
triadic
#522083 #835220 #208352
tetradic
#522083 #832120 #518320 #208383
square
#522083 #832120 #518320 #208383
split-complementary
#522083 #838320 #208321
monochromatic
#140821 #331452 #522083 #712CB4 #8F4AD3

Accessibility & contrast

On white

11.09
#522083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#522083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522083
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522083#FFFFFF#000000##FFFFFF
##5220831.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#483950
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522083;
/* rgb */ color: rgb(82, 32, 131);
/* oklch */ color: oklch(37.4% 0.156 302.3);
Tailwind
colors: {
  custom: {
    50: '#8761a8',
    500: '#522083',
    950: '#000000',
  },
}
SCSS
$custom: #522083;
$custom-light: #8761a8;
$custom-dark: #000000;
JSON
{
  "hex": "#522083",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 270.303,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.15596,
    "h": 302.3
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#522083
secondary
#7FB649
accent
#E44493
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #522083

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

Preview Lab → · Contrast checker → · Palette generator →

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