#522669#522669

#522669 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.2% C 0.118 H 312.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#522669
RGBrgb(82, 38, 105)
HSLhsl(279, 47%, 28%)
HSVhsv(279, 64%, 41%)
CMYKcmyk(21.9%, 63.8%, 0%, 58.8%)
CIE-LABlab(24.32, 32.97, -30.99)
CIE-LCHlch(24.32, 45.24, 316.78°)
OKLaboklab(36.17% 0.0791 -0.0871)
OKLCHoklch(36.17% 0.118 312.3)
XYZxyz(6.7221, 4.2002, 13.8185)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522669 #3D6926
analogous
#302669 #522669 #69265E
triadic
#522669 #695226 #266952
tetradic
#522669 #693026 #3D6926 #265E69
square
#522669 #693026 #3D6926 #265E69
split-complementary
#522669 #5E6926 #266930
monochromatic
#120816 #2F163C #522669 #753696 #974BBE

Accessibility & contrast

On white

11.41
#522669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#522669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522669
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522669#FFFFFF#000000##FFFFFF
##5226691.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386B
Deuteranopia (green-blind)
#213B67
Tritanopia (blue-blind)
#4F3243
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522669;
/* rgb */ color: rgb(82, 38, 105);
/* oklch */ color: oklch(36.2% 0.118 312.3);
Tailwind
colors: {
  custom: {
    50: '#856394',
    500: '#522669',
    950: '#000000',
  },
}
SCSS
$custom: #522669;
$custom-light: #856394;
$custom-dark: #000000;
JSON
{
  "hex": "#522669",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 105
  },
  "hsl": {
    "h": 279.403,
    "s": 46.853,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36173,
    "c": 0.11765,
    "h": 312.3
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#522669
secondary
#699C4F
accent
#D6517F
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #522669

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

Preview Lab → · Contrast checker → · Palette generator →

#522669 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva