#522C69#522C69

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

Color values

HEX#522C69
RGBrgb(82, 44, 105)
HSLhsl(277, 41%, 29%)
HSVhsv(277, 58%, 41%)
CMYKcmyk(21.9%, 58.1%, 0%, 58.8%)
CIE-LABlab(25.61, 29.53, -28.93)
CIE-LCHlch(25.61, 41.34, 315.58°)
OKLaboklab(37.11% 0.0705 -0.0811)
OKLCHoklch(37.11% 0.107 311)
XYZxyz(6.9297, 4.6153, 13.8876)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C69 #43692C
analogous
#342C69 #522C69 #692C62
triadic
#522C69 #69522C #2C6952
tetradic
#522C69 #69342C #43692C #2C6269
square
#522C69 #69342C #43692C #2C6269
split-complementary
#522C69 #62692C #2C6934
monochromatic
#110916 #301A3E #522C69 #743E94 #9457B9

Accessibility & contrast

On white

10.92
#522C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#522C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C69
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C69#FFFFFF#000000##FFFFFF
##522C691.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6B
Deuteranopia (green-blind)
#273D67
Tritanopia (blue-blind)
#4F3746
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522c69;
/* rgb */ color: rgb(82, 44, 105);
/* oklch */ color: oklch(37.1% 0.107 311.0);
Tailwind
colors: {
  custom: {
    50: '#846794',
    500: '#522c69',
    950: '#000000',
  },
}
SCSS
$custom: #522c69;
$custom-light: #846794;
$custom-dark: #000000;
JSON
{
  "hex": "#522c69",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 277.377,
    "s": 40.94,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37114,
    "c": 0.10745,
    "h": 311
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#522C69
secondary
#709B56
accent
#D15785
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522C69

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

Preview Lab → · Contrast checker → · Palette generator →

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