#522E6D#522E6D

#522E6D is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.7% C 0.109 H 308.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#522E6D
RGBrgb(82, 46, 109)
HSLhsl(274, 41%, 30%)
HSVhsv(274, 58%, 43%)
CMYKcmyk(24.8%, 57.8%, 0%, 57.3%)
CIE-LABlab(26.31, 29.35, -30.40)
CIE-LCHlch(26.31, 42.26, 314.00°)
OKLaboklab(37.71% 0.0678 -0.0854)
OKLCHoklch(37.71% 0.109 308.4)
XYZxyz(7.2164, 4.8521, 15.0214)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E6D #496D2E
analogous
#332E6D #522E6D #6D2E68
triadic
#522E6D #6D522E #2E6D52
tetradic
#522E6D #6D332E #496D2E #2E686D
square
#522E6D #6D332E #496D2E #2E686D
split-complementary
#522E6D #686D2E #2E6D33
monochromatic
#110A17 #321C42 #522E6D #724098 #915BBA

Accessibility & contrast

On white

10.66
#522E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#522E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E6D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E6D#FFFFFF#000000##FFFFFF
##522E6D1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#263F6B
Tritanopia (blue-blind)
#4E3949
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522e6d;
/* rgb */ color: rgb(82, 46, 109);
/* oklch */ color: oklch(37.7% 0.109 308.4);
Tailwind
colors: {
  custom: {
    50: '#856897',
    500: '#522e6d',
    950: '#000000',
  },
}
SCSS
$custom: #522e6d;
$custom-light: #856897;
$custom-dark: #000000;
JSON
{
  "hex": "#522e6d",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 274.286,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.10899,
    "h": 308.4
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#522E6D
secondary
#769F58
accent
#D0578B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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