#522EBE#522EBE

#522EBE is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.208 H 285.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#522EBE
RGBrgb(82, 46, 190)
HSLhsl(255, 61%, 46%)
HSVhsv(255, 76%, 75%)
CMYKcmyk(56.8%, 75.8%, 0%, 25.5%)
CIE-LABlab(32.84, 51.94, -69.49)
CIE-LCHlch(32.84, 86.76, 306.77°)
OKLaboklab(44.43% 0.0565 -0.2001)
OKLCHoklch(44.43% 0.208 285.8)
XYZxyz(13.7481, 7.4647, 49.4216)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EBE #9ABE2E
analogous
#2E52BE #522EBE #9A2EBE
triadic
#522EBE #BE522E #2EBE52
tetradic
#522EBE #BE2E52 #9ABE2E #2EBE9A
square
#522EBE #BE2E52 #9ABE2E #2EBE9A
split-complementary
#522EBE #BE9A2E #52BE2E
monochromatic
#27165B #3D228D #522EBE #7454D6 #9C85E1

Accessibility & contrast

On white

8.42
#522EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#522EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522EBE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EBE#FFFFFF#000000##FFFFFF
##522EBE1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#1C5774
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #522ebe;
/* rgb */ color: rgb(82, 46, 190);
/* oklch */ color: oklch(44.4% 0.208 285.8);
Tailwind
colors: {
  custom: {
    50: '#8f6bd3',
    500: '#522ebe',
    950: '#000000',
  },
}
SCSS
$custom: #522ebe;
$custom-light: #8f6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#522ebe",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.20792,
    "h": 285.8
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#522EBE
secondary
#B7CB7D
accent
#E444BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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