#522FD3#522FD3

#522FD3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.231 H 282.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#522FD3
RGBrgb(82, 47, 211)
HSLhsl(253, 65%, 51%)
HSVhsv(253, 78%, 83%)
CMYKcmyk(61.1%, 77.7%, 0%, 17.3%)
CIE-LABlab(35.06, 57.42, -78.09)
CIE-LCHlch(35.06, 96.93, 306.33°)
OKLaboklab(46.59% 0.05 -0.2252)
OKLCHoklch(46.59% 0.231 282.5)
XYZxyz(16.2504, 8.5289, 62.4053)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FD3 #B0D32F
analogous
#2F5ED3 #522FD3 #A42FD3
triadic
#522FD3 #D3522F #2FD352
tetradic
#522FD3 #D32F5E #B0D32F #2FD3A4
square
#522FD3 #D32F5E #B0D32F #2FD3A4
split-complementary
#522FD3 #D3A42F #5ED32F
monochromatic
#2B1870 #3E22A2 #522FD3 #7C62DE #A694E8

Accessibility & contrast

On white

7.76
#522FD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#522FD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FD3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FD3#FFFFFF#000000##FFFFFF
##522FD31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#006081
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #522fd3;
/* rgb */ color: rgb(82, 47, 211);
/* oklch */ color: oklch(46.6% 0.231 282.5);
Tailwind
colors: {
  custom: {
    50: '#926de2',
    500: '#522fd3',
    950: '#000000',
  },
}
SCSS
$custom: #522fd3;
$custom-light: #926de2;
$custom-dark: #000000;
JSON
{
  "hex": "#522fd3",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 252.805,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.23073,
    "h": 282.5
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#522FD3
secondary
#C4D38A
accent
#E840C4
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #522FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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