#522EAC#522EAC

#522EAC is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.187 H 289.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#522EAC
RGBrgb(82, 46, 172)
HSLhsl(257, 58%, 43%)
HSVhsv(257, 73%, 67%)
CMYKcmyk(52.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(31.17, 46.80, -61.54)
CIE-LCHlch(31.17, 77.31, 307.26°)
OKLaboklab(42.74% 0.0609 -0.1768)
OKLCHoklch(42.74% 0.187 289)
XYZxyz(11.9009, 6.7258, 39.6929)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EAC #88AC2E
analogous
#2E49AC #522EAC #912EAC
triadic
#522EAC #AC522E #2EAC52
tetradic
#522EAC #AC2E49 #88AC2E #2EAC91
square
#522EAC #AC2E49 #88AC2E #2EAC91
split-complementary
#522EAC #AC912E #49AC2E
monochromatic
#24144B #3B217C #522EAC #6F49CE #9579DB

Accessibility & contrast

On white

8.95
#522EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#522EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522EAC
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EAC#FFFFFF#000000##FFFFFF
##522EAC1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#30506A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #522eac;
/* rgb */ color: rgb(82, 46, 172);
/* oklch */ color: oklch(42.7% 0.187 289.0);
Tailwind
colors: {
  custom: {
    50: '#8c6ac6',
    500: '#522eac',
    950: '#000000',
  },
}
SCSS
$custom: #522eac;
$custom-light: #8c6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#522eac",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 257.143,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.18701,
    "h": 289
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#522EAC
secondary
#ACC372
accent
#E147B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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