#522F6F#522F6F

#522F6F is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.0% C 0.110 H 307.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#522F6F
RGBrgb(82, 47, 111)
HSLhsl(273, 41%, 31%)
HSVhsv(273, 58%, 44%)
CMYKcmyk(26.1%, 57.7%, 0%, 56.5%)
CIE-LABlab(26.66, 29.27, -31.12)
CIE-LCHlch(26.66, 42.72, 313.25°)
OKLaboklab(38.01% 0.0664 -0.0875)
OKLCHoklch(38.01% 0.11 307.2)
XYZxyz(7.3648, 4.9746, 15.6081)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F6F #4C6F2F
analogous
#322F6F #522F6F #6F2F6C
triadic
#522F6F #6F522F #2F6F52
tetradic
#522F6F #6F322F #4C6F2F #2F6C6F
square
#522F6F #6F322F #4C6F2F #2F6C6F
split-complementary
#522F6F #6C6F2F #2F6F32
monochromatic
#120B19 #321D44 #522F6F #72419A #915EBB

Accessibility & contrast

On white

10.53
#522F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#522F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F6F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F6F#FFFFFF#000000##FFFFFF
##522F6F1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#263F6D
Tritanopia (blue-blind)
#4E3B4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522f6f;
/* rgb */ color: rgb(82, 47, 111);
/* oklch */ color: oklch(38.0% 0.110 307.2);
Tailwind
colors: {
  custom: {
    50: '#856999',
    500: '#522f6f',
    950: '#000000',
  },
}
SCSS
$custom: #522f6f;
$custom-light: #856999;
$custom-dark: #000000;
JSON
{
  "hex": "#522f6f",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 272.813,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3801,
    "c": 0.10983,
    "h": 307.2
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#522F6F
secondary
#7AA059
accent
#D0578E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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