#522E6A#522E6A

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

Color values

HEX#522E6A
RGBrgb(82, 46, 106)
HSLhsl(276, 39%, 30%)
HSVhsv(276, 57%, 42%)
CMYKcmyk(22.6%, 56.6%, 0%, 58.4%)
CIE-LABlab(26.12, 28.59, -28.76)
CIE-LCHlch(26.12, 40.55, 314.83°)
OKLaboklab(37.51% 0.0676 -0.0806)
OKLCHoklch(37.51% 0.105 310)
XYZxyz(7.0577, 4.7886, 14.1854)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E6A #466A2E
analogous
#342E6A #522E6A #6A2E64
triadic
#522E6A #6A522E #2E6A52
tetradic
#522E6A #6A342E #466A2E #2E646A
square
#522E6A #6A342E #466A2E #2E646A
split-complementary
#522E6A #646A2E #2E6A34
monochromatic
#110915 #311B3F #522E6A #734195 #935BB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##522E6A#FFFFFF#000000##FFFFFF
##522E6A1.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)
#1D3C6C
Deuteranopia (green-blind)
#283E68
Tritanopia (blue-blind)
#4F3847
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522e6a;
/* rgb */ color: rgb(82, 46, 106);
/* oklch */ color: oklch(37.5% 0.105 310.0);
Tailwind
colors: {
  custom: {
    50: '#846895',
    500: '#522e6a',
    950: '#000000',
  },
}
SCSS
$custom: #522e6a;
$custom-light: #846895;
$custom-dark: #000000;
JSON
{
  "hex": "#522e6a",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 276,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37513,
    "c": 0.10517,
    "h": 310
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#522E6A
secondary
#739C58
accent
#CF5888
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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