#522D66#522D66

#522D66 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.102 H 312.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#522D66
RGBrgb(82, 45, 102)
HSLhsl(279, 39%, 29%)
HSVhsv(279, 56%, 40%)
CMYKcmyk(19.6%, 55.9%, 0%, 60%)
CIE-LABlab(25.65, 28.19, -26.92)
CIE-LCHlch(25.65, 38.98, 316.31°)
OKLaboklab(37.09% 0.0687 -0.0752)
OKLCHoklch(37.09% 0.102 312.4)
XYZxyz(6.8159, 4.6301, 13.1024)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D66 #41662D
analogous
#362D66 #522D66 #662D5E
triadic
#522D66 #66522D #2D6652
tetradic
#522D66 #66362D #41662D #2D5E66
square
#522D66 #66362D #41662D #2D5E66
split-complementary
#522D66 #5E662D #2D6636
monochromatic
#110915 #301A3C #522D66 #744090 #9558B5

Accessibility & contrast

On white

10.90
#522D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#522D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522D66
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D66#FFFFFF#000000##FFFFFF
##522D661.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#2A3E65
Tritanopia (blue-blind)
#503645
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522d66;
/* rgb */ color: rgb(82, 45, 102);
/* oklch */ color: oklch(37.1% 0.102 312.4);
Tailwind
colors: {
  custom: {
    50: '#846792',
    500: '#522d66',
    950: '#000000',
  },
}
SCSS
$custom: #522d66;
$custom-light: #846792;
$custom-dark: #000000;
JSON
{
  "hex": "#522d66",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 278.947,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37088,
    "c": 0.1019,
    "h": 312.4
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#522D66
secondary
#6E9857
accent
#CF5982
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522D66

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

Preview Lab → · Contrast checker → · Palette generator →

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