#522CD3#522CD3

#522CD3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.233 H 282.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#522CD3
RGBrgb(82, 44, 211)
HSLhsl(254, 65%, 50%)
HSVhsv(254, 79%, 83%)
CMYKcmyk(61.1%, 79.1%, 0%, 17.3%)
CIE-LABlab(34.59, 58.77, -78.87)
CIE-LCHlch(34.59, 98.35, 306.69°)
OKLaboklab(46.27% 0.0517 -0.2274)
OKLCHoklch(46.27% 0.233 282.8)
XYZxyz(16.1346, 8.2972, 62.3667)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CD3 #ADD32C
analogous
#2C59D3 #522CD3 #A62CD3
triadic
#522CD3 #D3522C #2CD352
tetradic
#522CD3 #D32C59 #ADD32C #2CD3A6
square
#522CD3 #D32C59 #ADD32C #2CD3A6
split-complementary
#522CD3 #D3A62C #59D32C
monochromatic
#2B176E #3E21A0 #522CD3 #7C5FDE #A591E8

Accessibility & contrast

On white

7.90
#522CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#522CD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CD3
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CD3#FFFFFF#000000##FFFFFF
##522CD31.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D8
Deuteranopia (green-blind)
#004CD0
Tritanopia (blue-blind)
#005E80
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #522cd3;
/* rgb */ color: rgb(82, 44, 211);
/* oklch */ color: oklch(46.3% 0.233 282.8);
Tailwind
colors: {
  custom: {
    50: '#926be2',
    500: '#522cd3',
    950: '#000000',
  },
}
SCSS
$custom: #522cd3;
$custom-light: #926be2;
$custom-dark: #000000;
JSON
{
  "hex": "#522cd3",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 253.653,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.23326,
    "h": 282.8
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#522CD3
secondary
#C2D388
accent
#E83FC2
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #522CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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