#522EFF#522EFF

#522EFF is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 51.0% C 0.279 H 277.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#522EFF
RGBrgb(82, 46, 255)
HSLhsl(250, 100%, 59%)
HSVhsv(250, 82%, 100%)
CMYKcmyk(67.8%, 82%, 0%, 0%)
CIE-LABlab(39.52, 69.98, -95.73)
CIE-LCHlch(39.52, 118.58, 306.17°)
OKLaboklab(51.03% 0.0376 -0.2765)
OKLCHoklch(51.03% 0.279 277.7)
XYZxyz(22.5008, 10.9658, 95.5192)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EFF #DBFF2E
analogous
#2E73FF #522EFF #BB2EFF
triadic
#522EFF #FF522E #2EFF52
tetradic
#522EFF #FF2E73 #DBFF2E #2EFFBB
square
#522EFF #FF2E73 #DBFF2E #2EFFBB
split-complementary
#522EFF #FFBB2E #73FF2E
monochromatic
#1F00B3 #2900F0 #522EFF #856BFF #B7A8FF

Accessibility & contrast

On white

6.58
#522EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#522EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #522EFF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EFF#FFFFFF#000000##FFFFFF
##522EFF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#0054FB
Tritanopia (blue-blind)
#00719A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #522eff;
/* rgb */ color: rgb(82, 46, 255);
/* oklch */ color: oklch(51.0% 0.279 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a6fff',
    500: '#522eff',
    950: '#000000',
  },
}
SCSS
$custom: #522eff;
$custom-light: #9a6fff;
$custom-dark: #000000;
JSON
{
  "hex": "#522eff",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 250.335,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.27906,
    "h": 277.7
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#522EFF
secondary
#DFED9B
accent
#FF29DA
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #522EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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