#522376#522376

#522376 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.137 H 306.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#522376
RGBrgb(82, 35, 118)
HSLhsl(274, 54%, 30%)
HSVhsv(274, 70%, 46%)
CMYKcmyk(30.5%, 70.3%, 0%, 53.7%)
CIE-LABlab(24.65, 37.80, -38.81)
CIE-LCHlch(24.65, 54.18, 314.24°)
OKLaboklab(36.7% 0.0823 -0.11)
OKLCHoklch(36.7% 0.137 306.8)
XYZxyz(7.3500, 4.3040, 17.5796)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522376 #477623
analogous
#292376 #522376 #762370
triadic
#522376 #765223 #237652
tetradic
#522376 #762923 #477623 #237076
square
#522376 #762923 #477623 #237076
split-complementary
#522376 #707623 #237629
monochromatic
#100718 #311547 #522376 #7331A5 #924AC9

Accessibility & contrast

On white

11.29
#522376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#522376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522376
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522376#FFFFFF#000000##FFFFFF
##5223761.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#0D3B74
Tritanopia (blue-blind)
#4C3549
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522376;
/* rgb */ color: rgb(82, 35, 118);
/* oklch */ color: oklch(36.7% 0.137 306.8);
Tailwind
colors: {
  custom: {
    50: '#86629e',
    500: '#522376',
    950: '#000000',
  },
}
SCSS
$custom: #522376;
$custom-light: #86629e;
$custom-dark: #000000;
JSON
{
  "hex": "#522376",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 273.976,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.36703,
    "c": 0.13737,
    "h": 306.8
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#522376
secondary
#74A94C
accent
#DE4A8A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #522376

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

Preview Lab → · Contrast checker → · Palette generator →

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