#522F73#522F73

#522F73 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.3% C 0.115 H 305.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#522F73
RGBrgb(82, 47, 115)
HSLhsl(271, 42%, 32%)
HSVhsv(271, 59%, 45%)
CMYKcmyk(28.7%, 59.1%, 0%, 54.9%)
CIE-LABlab(26.92, 30.32, -33.26)
CIE-LCHlch(26.92, 45.01, 312.35°)
OKLaboklab(38.28% 0.0666 -0.0938)
OKLCHoklch(38.28% 0.115 305.4)
XYZxyz(7.5900, 5.0647, 16.7941)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F73 #50732F
analogous
#302F73 #522F73 #732F72
triadic
#522F73 #73522F #2F7352
tetradic
#522F73 #73302F #50732F #2F7273
square
#522F73 #73302F #50732F #2F7273
split-complementary
#522F73 #72732F #2F7330
monochromatic
#140B1C #331D48 #522F73 #71419E #905FBE

Accessibility & contrast

On white

10.43
#522F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#522F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F73
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F73#FFFFFF#000000##FFFFFF
##522F731.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F75
Deuteranopia (green-blind)
#224071
Tritanopia (blue-blind)
#4C3C4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522f73;
/* rgb */ color: rgb(82, 47, 115);
/* oklch */ color: oklch(38.3% 0.115 305.4);
Tailwind
colors: {
  custom: {
    50: '#85699c',
    500: '#522f73',
    950: '#000000',
  },
}
SCSS
$custom: #522f73;
$custom-light: #85699c;
$custom-dark: #000000;
JSON
{
  "hex": "#522f73",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 270.882,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38281,
    "c": 0.11499,
    "h": 305.4
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#522F73
secondary
#7EA45A
accent
#D25692
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522F73

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

Preview Lab → · Contrast checker → · Palette generator →

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