#522F65#522F65

#522F65 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.097 H 312.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#522F65
RGBrgb(82, 47, 101)
HSLhsl(279, 36%, 29%)
HSVhsv(279, 53%, 40%)
CMYKcmyk(18.8%, 53.5%, 0%, 60.4%)
CIE-LABlab(26.06, 26.73, -25.63)
CIE-LCHlch(26.06, 37.04, 316.20°)
OKLaboklab(37.37% 0.0655 -0.0715)
OKLCHoklch(37.37% 0.097 312.5)
XYZxyz(6.8447, 4.7666, 12.8689)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F65 #42652F
analogous
#372F65 #522F65 #652F5D
triadic
#522F65 #65522F #2F6552
tetradic
#522F65 #65372F #42652F #2F5D65
square
#522F65 #65372F #42652F #2F5D65
split-complementary
#522F65 #5D652F #2F6537
monochromatic
#110A15 #301C3B #522F65 #74428F #945BB3

Accessibility & contrast

On white

10.75
#522F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#522F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F65
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F65#FFFFFF#000000##FFFFFF
##522F651.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C67
Deuteranopia (green-blind)
#2D3E64
Tritanopia (blue-blind)
#503845
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522f65;
/* rgb */ color: rgb(82, 47, 101);
/* oklch */ color: oklch(37.4% 0.097 312.5);
Tailwind
colors: {
  custom: {
    50: '#846991',
    500: '#522f65',
    950: '#000000',
  },
}
SCSS
$custom: #522f65;
$custom-light: #846991;
$custom-dark: #000000;
JSON
{
  "hex": "#522f65",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 278.889,
    "s": 36.486,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.09697,
    "h": 312.5
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#522F65
secondary
#6F9759
accent
#CC5B83
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060D
muted
#7C7A7D

Preview Lab

Preview with #522F65

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

Preview Lab → · Contrast checker → · Palette generator →

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