#522DBC#522DBC

#522DBC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.207 H 286.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#522DBC
RGBrgb(82, 45, 188)
HSLhsl(256, 61%, 46%)
HSVhsv(256, 76%, 74%)
CMYKcmyk(56.4%, 76.1%, 0%, 26.3%)
CIE-LABlab(32.48, 51.85, -68.91)
CIE-LCHlch(32.48, 86.24, 306.96°)
OKLaboklab(44.12% 0.0577 -0.1984)
OKLCHoklch(44.12% 0.207 286.2)
XYZxyz(13.4924, 7.3007, 48.2654)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DBC #97BC2D
analogous
#2D50BC #522DBC #992DBC
triadic
#522DBC #BC522D #2DBC52
tetradic
#522DBC #BC2D50 #97BC2D #2DBC99
square
#522DBC #BC2D50 #97BC2D #2DBC99
split-complementary
#522DBC #BC992D #50BC2D
monochromatic
#271559 #3C218B #522DBC #7351D5 #9B82E1

Accessibility & contrast

On white

8.54
#522DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#522DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DBC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DBC#FFFFFF#000000##FFFFFF
##522DBC1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#1F5673
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #522dbc;
/* rgb */ color: rgb(82, 45, 188);
/* oklch */ color: oklch(44.1% 0.207 286.2);
Tailwind
colors: {
  custom: {
    50: '#8e6ad1',
    500: '#522dbc',
    950: '#000000',
  },
}
SCSS
$custom: #522dbc;
$custom-light: #8e6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#522dbc",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 255.524,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.2066,
    "h": 286.2
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#522DBC
secondary
#B6CA7B
accent
#E443BB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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