#522CB0#522CB0

#522CB0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.194 H 288.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#522CB0
RGBrgb(82, 44, 176)
HSLhsl(257, 60%, 43%)
HSVhsv(257, 75%, 69%)
CMYKcmyk(53.4%, 75%, 0%, 31%)
CIE-LABlab(31.18, 48.95, -63.92)
CIE-LCHlch(31.18, 80.51, 307.44°)
OKLaboklab(42.86% 0.0616 -0.1838)
OKLCHoklch(42.86% 0.194 288.5)
XYZxyz(12.2145, 6.7292, 41.7211)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CB0 #8AB02C
analogous
#2C48B0 #522CB0 #942CB0
triadic
#522CB0 #B0522C #2CB052
tetradic
#522CB0 #B02C48 #8AB02C #2CB094
square
#522CB0 #B02C48 #8AB02C #2CB094
split-complementary
#522CB0 #B0942C #48B02C
monochromatic
#24144E #3B207F #522CB0 #6F48D1 #9679DD

Accessibility & contrast

On white

8.95
#522CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#522CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CB0
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CB0#FFFFFF#000000##FFFFFF
##522CB01.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#2D506C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #522cb0;
/* rgb */ color: rgb(82, 44, 176);
/* oklch */ color: oklch(42.9% 0.194 288.5);
Tailwind
colors: {
  custom: {
    50: '#8d69c9',
    500: '#522cb0',
    950: '#000000',
  },
}
SCSS
$custom: #522cb0;
$custom-light: #8d69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#522cb0",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 257.273,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4286,
    "c": 0.19382,
    "h": 288.5
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#522CB0
secondary
#AEC672
accent
#E345B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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