#522483#522483

#522483 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.151 H 301.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#522483
RGBrgb(82, 36, 131)
HSLhsl(269, 57%, 33%)
HSVhsv(269, 73%, 51%)
CMYKcmyk(37.4%, 72.5%, 0%, 48.6%)
CIE-LABlab(25.85, 40.62, -45.11)
CIE-LCHlch(25.85, 60.70, 312.00°)
OKLaboklab(37.88% 0.0792 -0.1285)
OKLCHoklch(37.88% 0.151 301.6)
XYZxyz(8.2063, 4.6942, 21.9421)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522483 #558324
analogous
#242583 #522483 #822483
triadic
#522483 #835224 #248352
tetradic
#522483 #832425 #558324 #248382
square
#522483 #832425 #558324 #248382
split-complementary
#522483 #838224 #258324
monochromatic
#160A23 #341753 #522483 #7031B3 #8F52CF

Accessibility & contrast

On white

10.83
#522483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#522483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522483
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522483#FFFFFF#000000##FFFFFF
##5224831.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#483B51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522483;
/* rgb */ color: rgb(82, 36, 131);
/* oklch */ color: oklch(37.9% 0.151 301.6);
Tailwind
colors: {
  custom: {
    50: '#8763a8',
    500: '#522483',
    950: '#000000',
  },
}
SCSS
$custom: #522483;
$custom-light: #8763a8;
$custom-dark: #000000;
JSON
{
  "hex": "#522483",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 269.053,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.15097,
    "h": 301.6
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#522483
secondary
#83B34F
accent
#E04896
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #522483

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

Preview Lab → · Contrast checker → · Palette generator →

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