#522089#522089

#522089 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.163 H 300.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#522089
RGBrgb(82, 32, 137)
HSLhsl(269, 62%, 33%)
HSVhsv(269, 77%, 54%)
CMYKcmyk(40.1%, 76.6%, 0%, 46.3%)
CIE-LABlab(25.66, 44.11, -49.16)
CIE-LCHlch(25.66, 66.05, 311.90°)
OKLaboklab(37.9% 0.082 -0.1404)
OKLCHoklch(37.9% 0.163 300.3)
XYZxyz(8.5104, 4.6329, 24.1079)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522089 #578920
analogous
#202389 #522089 #862089
triadic
#522089 #895220 #208952
tetradic
#522089 #892023 #578920 #208986
square
#522089 #892023 #578920 #208986
split-complementary
#522089 #898620 #238920
monochromatic
#170926 #341457 #522089 #702CBB #8E4ED6

Accessibility & contrast

On white

10.90
#522089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#522089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522089
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522089#FFFFFF#000000##FFFFFF
##5220891.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#453B53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522089;
/* rgb */ color: rgb(82, 32, 137);
/* oklch */ color: oklch(37.9% 0.163 300.3);
Tailwind
colors: {
  custom: {
    50: '#8861ac',
    500: '#522089',
    950: '#000000',
  },
}
SCSS
$custom: #522089;
$custom-light: #8861ac;
$custom-dark: #000000;
JSON
{
  "hex": "#522089",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 268.571,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37901,
    "c": 0.16259,
    "h": 300.3
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#522089
secondary
#85B94C
accent
#E54398
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #522089

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

Preview Lab → · Contrast checker → · Palette generator →

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