#522E65#522E65

#522E65 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.099 H 312.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#522E65
RGBrgb(82, 46, 101)
HSLhsl(279, 37%, 29%)
HSVhsv(279, 54%, 40%)
CMYKcmyk(18.8%, 54.5%, 0%, 60.4%)
CIE-LABlab(25.83, 27.34, -26.00)
CIE-LCHlch(25.83, 37.73, 316.43°)
OKLaboklab(37.2% 0.0671 -0.0726)
OKLCHoklch(37.2% 0.099 312.7)
XYZxyz(6.8052, 4.6876, 12.8557)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E65 #41652E
analogous
#372E65 #522E65 #652E5D
triadic
#522E65 #65522E #2E6552
tetradic
#522E65 #65372E #41652E #2E5D65
square
#522E65 #65372E #41652E #2E5D65
split-complementary
#522E65 #5D652E #2E6537
monochromatic
#110A15 #301B3B #522E65 #74418F #955AB4

Accessibility & contrast

On white

10.84
#522E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#522E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E65
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E65#FFFFFF#000000##FFFFFF
##522E651.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B67
Deuteranopia (green-blind)
#2C3E64
Tritanopia (blue-blind)
#503745
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522e65;
/* rgb */ color: rgb(82, 46, 101);
/* oklch */ color: oklch(37.2% 0.099 312.7);
Tailwind
colors: {
  custom: {
    50: '#846891',
    500: '#522e65',
    950: '#000000',
  },
}
SCSS
$custom: #522e65;
$custom-light: #846891;
$custom-dark: #000000;
JSON
{
  "hex": "#522e65",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 279.273,
    "s": 37.415,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.09882,
    "h": 312.7
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#522E65
secondary
#6E9758
accent
#CD5A82
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060D
muted
#7C7A7D

Preview Lab

Preview with #522E65

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

Preview Lab → · Contrast checker → · Palette generator →

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