#522683#522683

#522683 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.148 H 301.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#522683
RGBrgb(82, 38, 131)
HSLhsl(268, 55%, 33%)
HSVhsv(268, 71%, 51%)
CMYKcmyk(37.4%, 71%, 0%, 48.6%)
CIE-LABlab(26.21, 39.60, -44.51)
CIE-LCHlch(26.21, 59.58, 311.66°)
OKLaboklab(38.14% 0.077 -0.1268)
OKLCHoklch(38.14% 0.148 301.3)
XYZxyz(8.2685, 4.8187, 21.9628)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522683 #578326
analogous
#262883 #522683 #802683
triadic
#522683 #835226 #268352
tetradic
#522683 #832628 #578326 #268380
square
#522683 #832628 #578326 #268380
split-complementary
#522683 #838026 #288326
monochromatic
#170A24 #341854 #522683 #7034B2 #8E56CE

Accessibility & contrast

On white

10.69
#522683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#522683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522683
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522683#FFFFFF#000000##FFFFFF
##5226831.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#473C51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522683;
/* rgb */ color: rgb(82, 38, 131);
/* oklch */ color: oklch(38.1% 0.148 301.3);
Tailwind
colors: {
  custom: {
    50: '#8764a8',
    500: '#522683',
    950: '#000000',
  },
}
SCSS
$custom: #522683;
$custom-light: #8764a8;
$custom-dark: #000000;
JSON
{
  "hex": "#522683",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 268.387,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.14833,
    "h": 301.3
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#522683
secondary
#85B252
accent
#DE4998
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #522683

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

Preview Lab → · Contrast checker → · Palette generator →

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