#522B83#522B83

#522B83 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.141 H 300.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#522B83
RGBrgb(82, 43, 131)
HSLhsl(267, 51%, 34%)
HSVhsv(267, 67%, 51%)
CMYKcmyk(37.4%, 67.2%, 0%, 48.6%)
CIE-LABlab(27.19, 36.91, -42.94)
CIE-LCHlch(27.19, 56.62, 310.69°)
OKLaboklab(38.83% 0.0712 -0.1222)
OKLCHoklch(38.83% 0.141 300.2)
XYZxyz(8.4393, 5.1602, 22.0197)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B83 #5C832B
analogous
#2B3083 #522B83 #7E2B83
triadic
#522B83 #83522B #2B8352
tetradic
#522B83 #832B30 #5C832B #2B837E
square
#522B83 #832B30 #5C832B #2B837E
split-complementary
#522B83 #837E2B #30832B
monochromatic
#180D27 #351C55 #522B83 #6F3AB1 #8E5ECA

Accessibility & contrast

On white

10.33
#522B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#522B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B83
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B83#FFFFFF#000000##FFFFFF
##522B831.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#004081
Tritanopia (blue-blind)
#473F53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522b83;
/* rgb */ color: rgb(82, 43, 131);
/* oklch */ color: oklch(38.8% 0.141 300.2);
Tailwind
colors: {
  custom: {
    50: '#8767a8',
    500: '#522b83',
    950: '#000000',
  },
}
SCSS
$custom: #522b83;
$custom-light: #8767a8;
$custom-dark: #000000;
JSON
{
  "hex": "#522b83",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 266.591,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.14139,
    "h": 300.2
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#522B83
secondary
#8AB05A
accent
#DA4E9C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #522B83

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

Preview Lab → · Contrast checker → · Palette generator →

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