#522A67#522A67

#522A67 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.7% C 0.108 H 312.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#522A67
RGBrgb(82, 42, 103)
HSLhsl(279, 42%, 28%)
HSVhsv(279, 59%, 40%)
CMYKcmyk(20.4%, 59.2%, 0%, 59.6%)
CIE-LABlab(25.04, 30.21, -28.54)
CIE-LCHlch(25.04, 41.56, 316.62°)
OKLaboklab(36.66% 0.0733 -0.0799)
OKLCHoklch(36.66% 0.108 312.5)
XYZxyz(6.7554, 4.4292, 13.3284)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A67 #3F672A
analogous
#332A67 #522A67 #672A5D
triadic
#522A67 #67522A #2A6752
tetradic
#522A67 #67332A #3F672A #2A5D67
square
#522A67 #67332A #3F672A #2A5D67
split-complementary
#522A67 #5D672A #2A6733
monochromatic
#110916 #2F183C #522A67 #753C92 #9653B9

Accessibility & contrast

On white

11.14
#522A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#522A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522A67
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A67#FFFFFF#000000##FFFFFF
##522A671.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193969
Deuteranopia (green-blind)
#273C65
Tritanopia (blue-blind)
#503444
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522a67;
/* rgb */ color: rgb(82, 42, 103);
/* oklch */ color: oklch(36.7% 0.108 312.5);
Tailwind
colors: {
  custom: {
    50: '#846593',
    500: '#522a67',
    950: '#000000',
  },
}
SCSS
$custom: #522a67;
$custom-light: #846593;
$custom-dark: #000000;
JSON
{
  "hex": "#522a67",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 279.344,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36658,
    "c": 0.10847,
    "h": 312.5
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#522A67
secondary
#6C9954
accent
#D25681
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522A67

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

Preview Lab → · Contrast checker → · Palette generator →

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