#522355#522355

#522355 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.4% C 0.100 H 325.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#522355
RGBrgb(82, 35, 85)
HSLhsl(296, 42%, 24%)
HSVhsv(296, 59%, 33%)
CMYKcmyk(3.5%, 58.8%, 0%, 66.7%)
CIE-LABlab(22.49, 30.05, -20.75)
CIE-LCHlch(22.49, 36.52, 325.37°)
OKLaboklab(34.44% 0.0823 -0.0573)
OKLCHoklch(34.44% 0.1 325.2)
XYZxyz(5.7203, 3.6521, 8.9962)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522355 #265523
analogous
#392355 #522355 #55233F
triadic
#522355 #555223 #235552
tetradic
#522355 #553923 #265523 #233F55
square
#522355 #553923 #265523 #233F55
split-complementary
#522355 #3F5523 #235539
monochromatic
#150916 #28112A #522355 #7C3580 #A647AC

Accessibility & contrast

On white

12.14
#522355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#522355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522355
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522355#FFFFFF#000000##FFFFFF
##5223551.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3257
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#542938
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #522355;
/* rgb */ color: rgb(82, 35, 85);
/* oklch */ color: oklch(34.4% 0.100 325.2);
Tailwind
colors: {
  custom: {
    50: '#846185',
    500: '#522355',
    950: '#000000',
  },
}
SCSS
$custom: #522355;
$custom-light: #846185;
$custom-dark: #000000;
JSON
{
  "hex": "#522355",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 85
  },
  "hsl": {
    "h": 296.4,
    "s": 41.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34437,
    "c": 0.10022,
    "h": 325.2
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#522355
secondary
#4F894B
accent
#D1565E
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #522355

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

Preview Lab → · Contrast checker → · Palette generator →

#522355 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva