#522F66#522F66

#522F66 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.098 H 311.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#522F66
RGBrgb(82, 47, 102)
HSLhsl(278, 37%, 29%)
HSVhsv(278, 54%, 40%)
CMYKcmyk(19.6%, 53.9%, 0%, 60%)
CIE-LABlab(26.12, 26.98, -26.19)
CIE-LCHlch(26.12, 37.60, 315.85°)
OKLaboklab(37.43% 0.0656 -0.0731)
OKLCHoklch(37.43% 0.098 311.9)
XYZxyz(6.8940, 4.7863, 13.1285)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F66 #43662F
analogous
#372F66 #522F66 #662F5F
triadic
#522F66 #66522F #2F6652
tetradic
#522F66 #66372F #43662F #2F5F66
square
#522F66 #66372F #43662F #2F5F66
split-complementary
#522F66 #5F662F #2F6637
monochromatic
#110A15 #301C3C #522F66 #744290 #945CB4

Accessibility & contrast

On white

10.73
#522F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#522F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F66
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F66#FFFFFF#000000##FFFFFF
##522F661.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#2C3F65
Tritanopia (blue-blind)
#503846
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522f66;
/* rgb */ color: rgb(82, 47, 102);
/* oklch */ color: oklch(37.4% 0.098 311.9);
Tailwind
colors: {
  custom: {
    50: '#846992',
    500: '#522f66',
    950: '#000000',
  },
}
SCSS
$custom: #522f66;
$custom-light: #846992;
$custom-dark: #000000;
JSON
{
  "hex": "#522f66",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 278.182,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.09825,
    "h": 311.9
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#522F66
secondary
#709859
accent
#CD5B84
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522F66

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

Preview Lab → · Contrast checker → · Palette generator →

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