#522FBF#522FBF

#522FBF is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.208 H 285.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#522FBF
RGBrgb(82, 47, 191)
HSLhsl(255, 61%, 47%)
HSVhsv(255, 75%, 75%)
CMYKcmyk(57.1%, 75.4%, 0%, 25.1%)
CIE-LABlab(33.11, 51.74, -69.64)
CIE-LCHlch(33.11, 86.76, 306.61°)
OKLaboklab(44.64% 0.0555 -0.2005)
OKLCHoklch(44.64% 0.208 285.5)
XYZxyz(13.8973, 7.5876, 50.0124)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FBF #9CBF2F
analogous
#2F54BF #522FBF #9A2FBF
triadic
#522FBF #BF522F #2FBF52
tetradic
#522FBF #BF2F54 #9CBF2F #2FBF9A
square
#522FBF #BF2F54 #9CBF2F #2FBF9A
split-complementary
#522FBF #BF9A2F #54BF2F
monochromatic
#28175D #3D238E #522FBF #7556D5 #9D87E1

Accessibility & contrast

On white

8.34
#522FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#522FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FBF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FBF#FFFFFF#000000##FFFFFF
##522FBF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#1A5875
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #522fbf;
/* rgb */ color: rgb(82, 47, 191);
/* oklch */ color: oklch(44.6% 0.208 285.5);
Tailwind
colors: {
  custom: {
    50: '#8f6cd4',
    500: '#522fbf',
    950: '#000000',
  },
}
SCSS
$custom: #522fbf;
$custom-light: #8f6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#522fbf",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 254.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.20808,
    "h": 285.5
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#522FBF
secondary
#B9CB7F
accent
#E444BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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