#522E68#522E68

#522E68 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.4% C 0.103 H 311.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#522E68
RGBrgb(82, 46, 104)
HSLhsl(277, 39%, 29%)
HSVhsv(277, 56%, 41%)
CMYKcmyk(21.2%, 55.8%, 0%, 59.2%)
CIE-LABlab(26.00, 28.09, -27.66)
CIE-LCHlch(26.00, 39.42, 315.43°)
OKLaboklab(37.39% 0.0674 -0.0774)
OKLCHoklch(37.39% 0.103 311)
XYZxyz(6.9549, 4.7474, 13.6440)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E68 #44682E
analogous
#352E68 #522E68 #682E61
triadic
#522E68 #68522E #2E6852
tetradic
#522E68 #68352E #44682E #2E6168
square
#522E68 #68352E #44682E #2E6168
split-complementary
#522E68 #61682E #2E6835
monochromatic
#110915 #311B3E #522E68 #734192 #935AB6

Accessibility & contrast

On white

10.77
#522E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#522E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E68
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E68#FFFFFF#000000##FFFFFF
##522E681.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6A
Deuteranopia (green-blind)
#2A3E67
Tritanopia (blue-blind)
#4F3846
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522e68;
/* rgb */ color: rgb(82, 46, 104);
/* oklch */ color: oklch(37.4% 0.103 311.0);
Tailwind
colors: {
  custom: {
    50: '#846893',
    500: '#522e68',
    950: '#000000',
  },
}
SCSS
$custom: #522e68;
$custom-light: #846893;
$custom-dark: #000000;
JSON
{
  "hex": "#522e68",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 277.241,
    "s": 38.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.10262,
    "h": 311
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#522E68
secondary
#719A58
accent
#CF5986
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522E68

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

Preview Lab → · Contrast checker → · Palette generator →

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