#522C67#522C67

#522C67 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.0% C 0.105 H 312.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#522C67
RGBrgb(82, 44, 103)
HSLhsl(279, 40%, 29%)
HSVhsv(279, 57%, 40%)
CMYKcmyk(20.4%, 57.3%, 0%, 59.6%)
CIE-LABlab(25.49, 29.03, -27.84)
CIE-LCHlch(25.49, 40.22, 316.20°)
OKLaboklab(36.99% 0.0703 -0.0779)
OKLCHoklch(36.99% 0.105 312.1)
XYZxyz(6.8281, 4.5746, 13.3526)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C67 #41672C
analogous
#352C67 #522C67 #672C5F
triadic
#522C67 #67522C #2C6752
tetradic
#522C67 #67352C #41672C #2C5F67
square
#522C67 #67352C #41672C #2C5F67
split-complementary
#522C67 #5F672C #2C6735
monochromatic
#110915 #301A3C #522C67 #743E92 #9556B7

Accessibility & contrast

On white

10.97
#522C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#522C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C67
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C67#FFFFFF#000000##FFFFFF
##522C671.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A69
Deuteranopia (green-blind)
#293D65
Tritanopia (blue-blind)
#503645
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522c67;
/* rgb */ color: rgb(82, 44, 103);
/* oklch */ color: oklch(37.0% 0.105 312.1);
Tailwind
colors: {
  custom: {
    50: '#846793',
    500: '#522c67',
    950: '#000000',
  },
}
SCSS
$custom: #522c67;
$custom-light: #846793;
$custom-dark: #000000;
JSON
{
  "hex": "#522c67",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 278.644,
    "s": 40.136,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.10494,
    "h": 312.1
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#522C67
secondary
#6E9956
accent
#D05883
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522C67

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

Preview Lab → · Contrast checker → · Palette generator →

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