#522B69#522B69

#522B69 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 37.0% C 0.109 H 311.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#522B69
RGBrgb(82, 43, 105)
HSLhsl(278, 42%, 29%)
HSVhsv(278, 59%, 41%)
CMYKcmyk(21.9%, 59%, 0%, 58.8%)
CIE-LABlab(25.39, 30.12, -29.29)
CIE-LCHlch(25.39, 42.01, 315.80°)
OKLaboklab(36.95% 0.072 -0.0821)
OKLCHoklch(36.95% 0.109 311.2)
XYZxyz(6.8929, 4.5417, 13.8754)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B69 #42692B
analogous
#332B69 #522B69 #692B61
triadic
#522B69 #69522B #2B6952
tetradic
#522B69 #69332B #42692B #2B6169
square
#522B69 #69332B #42692B #2B6169
split-complementary
#522B69 #61692B #2B6933
monochromatic
#110916 #30193E #522B69 #743D94 #9455B9

Accessibility & contrast

On white

11.00
#522B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#522B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B69
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B69#FFFFFF#000000##FFFFFF
##522B691.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6B
Deuteranopia (green-blind)
#263D67
Tritanopia (blue-blind)
#4F3645
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522b69;
/* rgb */ color: rgb(82, 43, 105);
/* oklch */ color: oklch(37.0% 0.109 311.2);
Tailwind
colors: {
  custom: {
    50: '#856694',
    500: '#522b69',
    950: '#000000',
  },
}
SCSS
$custom: #522b69;
$custom-light: #856694;
$custom-dark: #000000;
JSON
{
  "hex": "#522b69",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 105
  },
  "hsl": {
    "h": 277.742,
    "s": 41.892,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36951,
    "c": 0.10919,
    "h": 311.2
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#522B69
secondary
#6F9B55
accent
#D25684
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522B69

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

Preview Lab → · Contrast checker → · Palette generator →

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