#522DBF#522DBF

#522DBF is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.210 H 285.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#522DBF
RGBrgb(82, 45, 191)
HSLhsl(255, 62%, 46%)
HSVhsv(255, 76%, 75%)
CMYKcmyk(57.1%, 76.4%, 0%, 25.1%)
CIE-LABlab(32.77, 52.70, -70.20)
CIE-LCHlch(32.77, 87.78, 306.90°)
OKLaboklab(44.4% 0.0569 -0.2022)
OKLCHoklch(44.4% 0.21 285.7)
XYZxyz(13.8192, 7.4314, 49.9863)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DBF #9ABF2D
analogous
#2D51BF #522DBF #9B2DBF
triadic
#522DBF #BF522D #2DBF52
tetradic
#522DBF #BF2D51 #9ABF2D #2DBF9B
square
#522DBF #BF2D51 #9ABF2D #2DBF9B
split-complementary
#522DBF #BF9B2D #51BF2D
monochromatic
#27165C #3D218D #522DBF #7453D6 #9C84E2

Accessibility & contrast

On white

8.45
#522DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#522DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DBF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DBF#FFFFFF#000000##FFFFFF
##522DBF1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#1B5775
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #522dbf;
/* rgb */ color: rgb(82, 45, 191);
/* oklch */ color: oklch(44.4% 0.210 285.7);
Tailwind
colors: {
  custom: {
    50: '#8f6bd4',
    500: '#522dbf',
    950: '#000000',
  },
}
SCSS
$custom: #522dbf;
$custom-light: #8f6bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#522dbf",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 255.205,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.21002,
    "h": 285.7
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#522DBF
secondary
#B7CB7C
accent
#E543BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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