#522A69#522A69

#522A69 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.8% C 0.111 H 311.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#522A69
RGBrgb(82, 42, 105)
HSLhsl(278, 43%, 29%)
HSVhsv(278, 60%, 41%)
CMYKcmyk(21.9%, 60%, 0%, 58.8%)
CIE-LABlab(25.17, 30.70, -29.64)
CIE-LCHlch(25.17, 42.67, 316.01°)
OKLaboklab(36.79% 0.0734 -0.0831)
OKLCHoklch(36.79% 0.111 311.5)
XYZxyz(6.8570, 4.4698, 13.8634)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A69 #41692A
analogous
#332A69 #522A69 #692A61
triadic
#522A69 #69522A #2A6952
tetradic
#522A69 #69332A #41692A #2A6169
square
#522A69 #69332A #41692A #2A6169
split-complementary
#522A69 #61692A #2A6933
monochromatic
#110916 #30193D #522A69 #743B95 #9553BA

Accessibility & contrast

On white

11.09
#522A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522A69
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A69#FFFFFF#000000##FFFFFF
##522A691.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6B
Deuteranopia (green-blind)
#253C67
Tritanopia (blue-blind)
#4F3545
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522a69;
/* rgb */ color: rgb(82, 42, 105);
/* oklch */ color: oklch(36.8% 0.111 311.5);
Tailwind
colors: {
  custom: {
    50: '#856594',
    500: '#522a69',
    950: '#000000',
  },
}
SCSS
$custom: #522a69;
$custom-light: #856594;
$custom-dark: #000000;
JSON
{
  "hex": "#522a69",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 278.095,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.11092,
    "h": 311.5
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#522A69
secondary
#6E9B54
accent
#D35583
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522A69

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

Preview Lab → · Contrast checker → · Palette generator →

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