#522B66#522B66

#522B66 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.8% C 0.105 H 312.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#522B66
RGBrgb(82, 43, 102)
HSLhsl(280, 41%, 28%)
HSVhsv(280, 58%, 40%)
CMYKcmyk(19.6%, 57.8%, 0%, 60%)
CIE-LABlab(25.20, 29.37, -27.64)
CIE-LCHlch(25.20, 40.33, 316.74°)
OKLaboklab(36.75% 0.0718 -0.0773)
OKLCHoklch(36.75% 0.105 312.9)
XYZxyz(6.7414, 4.4811, 13.0776)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B66 #3F662B
analogous
#342B66 #522B66 #662B5C
triadic
#522B66 #66522B #2B6652
tetradic
#522B66 #66342B #3F662B #2B5C66
square
#522B66 #66342B #3F662B #2B5C66
split-complementary
#522B66 #5C662B #2B6634
monochromatic
#110916 #2F193B #522B66 #753D91 #9654B7

Accessibility & contrast

On white

11.07
#522B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#522B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B66
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B66#FFFFFF#000000##FFFFFF
##522B661.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#283D64
Tritanopia (blue-blind)
#503544
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522b66;
/* rgb */ color: rgb(82, 43, 102);
/* oklch */ color: oklch(36.8% 0.105 312.9);
Tailwind
colors: {
  custom: {
    50: '#846692',
    500: '#522b66',
    950: '#000000',
  },
}
SCSS
$custom: #522b66;
$custom-light: #846692;
$custom-dark: #000000;
JSON
{
  "hex": "#522b66",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 279.661,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.10548,
    "h": 312.9
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#522B66
secondary
#6C9855
accent
#D15780
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522B66

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

Preview Lab → · Contrast checker → · Palette generator →

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