#522B68#522B68

#522B68 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.9% C 0.108 H 311.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#522B68
RGBrgb(82, 43, 104)
HSLhsl(278, 41%, 29%)
HSVhsv(278, 59%, 41%)
CMYKcmyk(21.2%, 58.7%, 0%, 59.2%)
CIE-LABlab(25.32, 29.87, -28.74)
CIE-LCHlch(25.32, 41.45, 316.10°)
OKLaboklab(36.89% 0.0719 -0.0805)
OKLCHoklch(36.89% 0.108 311.8)
XYZxyz(6.8418, 4.5212, 13.6063)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B68 #41682B
analogous
#342B68 #522B68 #682B60
triadic
#522B68 #68522B #2B6852
tetradic
#522B68 #68342B #41682B #2B6068
square
#522B68 #68342B #41682B #2B6068
split-complementary
#522B68 #60682B #2B6834
monochromatic
#110916 #30193D #522B68 #743D93 #9555B9

Accessibility & contrast

On white

11.03
#522B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#522B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B68
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B68#FFFFFF#000000##FFFFFF
##522B681.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#273D66
Tritanopia (blue-blind)
#503645
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522b68;
/* rgb */ color: rgb(82, 43, 104);
/* oklch */ color: oklch(36.9% 0.108 311.8);
Tailwind
colors: {
  custom: {
    50: '#846693',
    500: '#522b68',
    950: '#000000',
  },
}
SCSS
$custom: #522b68;
$custom-light: #846693;
$custom-dark: #000000;
JSON
{
  "hex": "#522b68",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 278.361,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.10795,
    "h": 311.8
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#522B68
secondary
#6E9A55
accent
#D15683
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522B68

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

Preview Lab → · Contrast checker → · Palette generator →

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