#522FBD#522FBD

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

Color values

HEX#522FBD
RGBrgb(82, 47, 189)
HSLhsl(255, 60%, 46%)
HSVhsv(255, 75%, 74%)
CMYKcmyk(56.6%, 75.1%, 0%, 25.9%)
CIE-LABlab(32.92, 51.16, -68.78)
CIE-LCHlch(32.92, 85.72, 306.65°)
OKLaboklab(44.45% 0.056 -0.198)
OKLCHoklch(44.45% 0.206 285.8)
XYZxyz(13.6787, 7.5002, 48.8611)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FBD #9ABD2F
analogous
#2F53BD #522FBD #992FBD
triadic
#522FBD #BD522F #2FBD52
tetradic
#522FBD #BD2F53 #9ABD2F #2FBD99
square
#522FBD #BD2F53 #9ABD2F #2FBD99
split-complementary
#522FBD #BD992F #53BD2F
monochromatic
#27175B #3D238C #522FBD #7455D5 #9C86E1

Accessibility & contrast

On white

8.40
#522FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#522FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FBD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FBD#FFFFFF#000000##FFFFFF
##522FBD1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#1E5774
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #522fbd;
/* rgb */ color: rgb(82, 47, 189);
/* oklch */ color: oklch(44.5% 0.206 285.8);
Tailwind
colors: {
  custom: {
    50: '#8e6cd2',
    500: '#522fbd',
    950: '#000000',
  },
}
SCSS
$custom: #522fbd;
$custom-light: #8e6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#522fbd",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 254.789,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44451,
    "c": 0.20578,
    "h": 285.8
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#522FBD
secondary
#B7CA7E
accent
#E344BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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