#522F67#522F67

#522F67 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.5% C 0.100 H 311.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#522F67
RGBrgb(82, 47, 103)
HSLhsl(278, 37%, 29%)
HSVhsv(278, 54%, 40%)
CMYKcmyk(20.4%, 54.4%, 0%, 59.6%)
CIE-LABlab(26.18, 27.23, -26.74)
CIE-LCHlch(26.18, 38.17, 315.52°)
OKLaboklab(37.49% 0.0658 -0.0747)
OKLCHoklch(37.49% 0.1 311.3)
XYZxyz(6.9439, 4.8063, 13.3912)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F67 #44672F
analogous
#362F67 #522F67 #672F60
triadic
#522F67 #67522F #2F6752
tetradic
#522F67 #67362F #44672F #2F6067
square
#522F67 #67362F #44672F #2F6067
split-complementary
#522F67 #60672F #2F6736
monochromatic
#110A15 #311C3D #522F67 #734291 #935CB5

Accessibility & contrast

On white

10.71
#522F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#522F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F67
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F67#FFFFFF#000000##FFFFFF
##522F671.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C69
Deuteranopia (green-blind)
#2B3F66
Tritanopia (blue-blind)
#503846
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522f67;
/* rgb */ color: rgb(82, 47, 103);
/* oklch */ color: oklch(37.5% 0.100 311.3);
Tailwind
colors: {
  custom: {
    50: '#846993',
    500: '#522f67',
    950: '#000000',
  },
}
SCSS
$custom: #522f67;
$custom-light: #846993;
$custom-dark: #000000;
JSON
{
  "hex": "#522f67",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 277.5,
    "s": 37.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37493,
    "c": 0.09954,
    "h": 311.3
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#522F67
secondary
#719859
accent
#CD5A86
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522F67

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

Preview Lab → · Contrast checker → · Palette generator →

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