#522773#522773

#522773 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.128 H 307.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#522773
RGBrgb(82, 39, 115)
HSLhsl(274, 49%, 30%)
HSVhsv(274, 66%, 45%)
CMYKcmyk(28.7%, 66.1%, 0%, 54.9%)
CIE-LABlab(25.21, 34.91, -36.00)
CIE-LCHlch(25.21, 50.15, 314.12°)
OKLaboklab(37.03% 0.0775 -0.1018)
OKLCHoklch(37.03% 0.128 307.3)
XYZxyz(7.2991, 4.4828, 16.6971)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522773 #487327
analogous
#2C2773 #522773 #73276E
triadic
#522773 #735227 #277352
tetradic
#522773 #732C27 #487327 #276E73
square
#522773 #732C27 #487327 #276E73
split-complementary
#522773 #6E7327 #27732C
monochromatic
#110818 #311845 #522773 #7336A1 #9251C4

Accessibility & contrast

On white

11.07
#522773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#522773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522773
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522773#FFFFFF#000000##FFFFFF
##5227731.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#183C71
Tritanopia (blue-blind)
#4D3749
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522773;
/* rgb */ color: rgb(82, 39, 115);
/* oklch */ color: oklch(37.0% 0.128 307.3);
Tailwind
colors: {
  custom: {
    50: '#86649c',
    500: '#522773',
    950: '#000000',
  },
}
SCSS
$custom: #522773;
$custom-light: #86649c;
$custom-dark: #000000;
JSON
{
  "hex": "#522773",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 273.947,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37034,
    "c": 0.12793,
    "h": 307.3
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#522773
secondary
#75A550
accent
#D94F8B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #522773

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

Preview Lab → · Contrast checker → · Palette generator →

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