#522F70#522F70

#522F70 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.1% C 0.111 H 306.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#522F70
RGBrgb(82, 47, 112)
HSLhsl(272, 41%, 31%)
HSVhsv(272, 58%, 44%)
CMYKcmyk(26.8%, 58%, 0%, 56.1%)
CIE-LABlab(26.73, 29.53, -31.65)
CIE-LCHlch(26.73, 43.29, 313.02°)
OKLaboklab(38.08% 0.0665 -0.0891)
OKLCHoklch(38.08% 0.111 306.7)
XYZxyz(7.4202, 4.9968, 15.8997)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F70 #4D702F
analogous
#312F70 #522F70 #702F6D
triadic
#522F70 #70522F #2F7052
tetradic
#522F70 #70312F #4D702F #2F6D70
square
#522F70 #70312F #4D702F #2F6D70
split-complementary
#522F70 #6D702F #2F7031
monochromatic
#130B1A #321D45 #522F70 #72419B #905EBB

Accessibility & contrast

On white

10.50
#522F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522F70
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F70#FFFFFF#000000##FFFFFF
##522F701.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#253F6E
Tritanopia (blue-blind)
#4D3B4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522f70;
/* rgb */ color: rgb(82, 47, 112);
/* oklch */ color: oklch(38.1% 0.111 306.7);
Tailwind
colors: {
  custom: {
    50: '#856999',
    500: '#522f70',
    950: '#000000',
  },
}
SCSS
$custom: #522f70;
$custom-light: #856999;
$custom-dark: #000000;
JSON
{
  "hex": "#522f70",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 272.308,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.11112,
    "h": 306.7
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#522F70
secondary
#7BA15A
accent
#D1578F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522F70

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

Preview Lab → · Contrast checker → · Palette generator →

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