#522E7E#522E7E

#522E7E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.9% C 0.131 H 301.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#522E7E
RGBrgb(82, 46, 126)
HSLhsl(267, 47%, 34%)
HSVhsv(267, 63%, 49%)
CMYKcmyk(34.9%, 63.5%, 0%, 50.6%)
CIE-LABlab(27.45, 33.86, -39.38)
CIE-LCHlch(27.45, 51.93, 310.69°)
OKLaboklab(38.91% 0.0678 -0.1117)
OKLCHoklch(38.91% 0.131 301.3)
XYZxyz(8.2217, 5.2541, 20.3156)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E7E #5A7E2E
analogous
#2E327E #522E7E #7A2E7E
triadic
#522E7E #7E522E #2E7E52
tetradic
#522E7E #7E2E32 #5A7E2E #2E7E7A
square
#522E7E #7E2E32 #5A7E2E #2E7E7A
split-complementary
#522E7E #7E7A2E #327E2E
monochromatic
#180D24 #351E51 #522E7E #6F3EAB #8E61C5

Accessibility & contrast

On white

10.24
#522E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#522E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E7E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E7E#FFFFFF#000000##FFFFFF
##522E7E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#14407C
Tritanopia (blue-blind)
#493F51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #522e7e;
/* rgb */ color: rgb(82, 46, 126);
/* oklch */ color: oklch(38.9% 0.131 301.3);
Tailwind
colors: {
  custom: {
    50: '#8669a4',
    500: '#522e7e',
    950: '#000000',
  },
}
SCSS
$custom: #522e7e;
$custom-light: #8669a4;
$custom-dark: #000000;
JSON
{
  "hex": "#522e7e",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 267,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.13069,
    "h": 301.3
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#522E7E
secondary
#88AC5C
accent
#D6529B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #522E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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