#522883#522883

#522883 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.146 H 300.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#522883
RGBrgb(82, 40, 131)
HSLhsl(268, 53%, 34%)
HSVhsv(268, 69%, 51%)
CMYKcmyk(37.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(26.59, 38.55, -43.90)
CIE-LCHlch(26.59, 58.42, 311.29°)
OKLaboklab(38.41% 0.0747 -0.125)
OKLCHoklch(38.41% 0.146 300.9)
XYZxyz(8.3342, 4.9501, 21.9847)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522883 #598328
analogous
#282C83 #522883 #7F2883
triadic
#522883 #835228 #288352
tetradic
#522883 #83282C #598328 #28837F
square
#522883 #83282C #598328 #28837F
split-complementary
#522883 #837F28 #2C8328
monochromatic
#170B25 #351A54 #522883 #6F36B2 #8E59CC

Accessibility & contrast

On white

10.55
#522883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522883
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522883#FFFFFF#000000##FFFFFF
##5228831.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522883;
/* rgb */ color: rgb(82, 40, 131);
/* oklch */ color: oklch(38.4% 0.146 300.9);
Tailwind
colors: {
  custom: {
    50: '#8765a8',
    500: '#522883',
    950: '#000000',
  },
}
SCSS
$custom: #522883;
$custom-light: #8765a8;
$custom-dark: #000000;
JSON
{
  "hex": "#522883",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 267.692,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38408,
    "c": 0.14561,
    "h": 300.9
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#522883
secondary
#87B155
accent
#DD4B99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #522883

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

Preview Lab → · Contrast checker → · Palette generator →

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