#522F68#522F68

#522F68 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.6% C 0.101 H 310.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#522F68
RGBrgb(82, 47, 104)
HSLhsl(277, 38%, 30%)
HSVhsv(277, 55%, 41%)
CMYKcmyk(21.2%, 54.8%, 0%, 59.2%)
CIE-LABlab(26.23, 27.48, -27.30)
CIE-LCHlch(26.23, 38.73, 315.19°)
OKLaboklab(37.56% 0.0659 -0.0763)
OKLCHoklch(37.56% 0.101 310.8)
XYZxyz(6.9944, 4.8265, 13.6572)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F68 #45682F
analogous
#362F68 #522F68 #682F62
triadic
#522F68 #68522F #2F6852
tetradic
#522F68 #68362F #45682F #2F6268
square
#522F68 #68362F #45682F #2F6268
split-complementary
#522F68 #62682F #2F6836
monochromatic
#110A15 #311C3E #522F68 #734292 #935CB5

Accessibility & contrast

On white

10.69
#522F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#522F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F68
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F68#FFFFFF#000000##FFFFFF
##522F681.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#2B3F67
Tritanopia (blue-blind)
#4F3946
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522f68;
/* rgb */ color: rgb(82, 47, 104);
/* oklch */ color: oklch(37.6% 0.101 310.8);
Tailwind
colors: {
  custom: {
    50: '#846993',
    500: '#522f68',
    950: '#000000',
  },
}
SCSS
$custom: #522f68;
$custom-light: #846993;
$custom-dark: #000000;
JSON
{
  "hex": "#522f68",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 276.842,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.10081,
    "h": 310.8
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#522F68
secondary
#729959
accent
#CE5A87
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522F68

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

Preview Lab → · Contrast checker → · Palette generator →

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