#522EBC#522EBC

#522EBC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.206 H 286.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#522EBC
RGBrgb(82, 46, 188)
HSLhsl(255, 61%, 46%)
HSVhsv(255, 76%, 74%)
CMYKcmyk(56.4%, 75.5%, 0%, 26.3%)
CIE-LABlab(32.65, 51.37, -68.63)
CIE-LCHlch(32.65, 85.72, 306.82°)
OKLaboklab(44.23% 0.057 -0.1976)
OKLCHoklch(44.23% 0.206 286.1)
XYZxyz(13.5310, 7.3779, 48.2783)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EBC #98BC2E
analogous
#2E51BC #522EBC #992EBC
triadic
#522EBC #BC522E #2EBC52
tetradic
#522EBC #BC2E51 #98BC2E #2EBC99
square
#522EBC #BC2E51 #98BC2E #2EBC99
split-complementary
#522EBC #BC992E #51BC2E
monochromatic
#27165A #3D228B #522EBC #7352D5 #9B84E1

Accessibility & contrast

On white

8.48
#522EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#522EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522EBC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EBC#FFFFFF#000000##FFFFFF
##522EBC1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#1F5673
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #522ebc;
/* rgb */ color: rgb(82, 46, 188);
/* oklch */ color: oklch(44.2% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#8e6bd1',
    500: '#522ebc',
    950: '#000000',
  },
}
SCSS
$custom: #522ebc;
$custom-light: #8e6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#522ebc",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 255.211,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.20562,
    "h": 286.1
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#522EBC
secondary
#B6CA7C
accent
#E444BB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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