#522BAD#522BAD

#522BAD is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.191 H 289.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#522BAD
RGBrgb(82, 43, 173)
HSLhsl(258, 60%, 42%)
HSVhsv(258, 75%, 68%)
CMYKcmyk(52.6%, 75.1%, 0%, 32.2%)
CIE-LABlab(30.73, 48.59, -62.86)
CIE-LCHlch(30.73, 79.45, 307.70°)
OKLaboklab(42.46% 0.0632 -0.1807)
OKLCHoklch(42.46% 0.191 289.3)
XYZxyz(11.8842, 6.5382, 40.1629)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522BAD #86AD2B
analogous
#2B45AD #522BAD #932BAD
triadic
#522BAD #AD522B #2BAD52
tetradic
#522BAD #AD2B45 #86AD2B #2BAD93
square
#522BAD #AD2B45 #86AD2B #2BAD93
split-complementary
#522BAD #AD932B #45AD2B
monochromatic
#24134B #3B1F7C #522BAD #6F45D1 #9576DD

Accessibility & contrast

On white

9.10
#522BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#522BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522BAD
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522BAD#FFFFFF#000000##FFFFFF
##522BAD1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#304F6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #522bad;
/* rgb */ color: rgb(82, 43, 173);
/* oklch */ color: oklch(42.5% 0.191 289.3);
Tailwind
colors: {
  custom: {
    50: '#8c69c7',
    500: '#522bad',
    950: '#000000',
  },
}
SCSS
$custom: #522bad;
$custom-light: #8c69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#522bad",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 258,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.1914,
    "h": 289.3
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#522BAD
secondary
#ABC46F
accent
#E344B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #522BAD

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

Preview Lab → · Contrast checker → · Palette generator →

#522BAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva