#522673#522673

#522673 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.129 H 307.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#522673
RGBrgb(82, 38, 115)
HSLhsl(274, 50%, 30%)
HSVhsv(274, 67%, 45%)
CMYKcmyk(28.7%, 67%, 0%, 54.9%)
CIE-LABlab(25.01, 35.45, -36.32)
CIE-LCHlch(25.01, 50.76, 314.31°)
OKLaboklab(36.89% 0.0788 -0.1027)
OKLCHoklch(36.89% 0.129 307.5)
XYZxyz(7.2667, 4.4180, 16.6863)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522673 #477326
analogous
#2C2673 #522673 #73266D
triadic
#522673 #735226 #267352
tetradic
#522673 #732C26 #477326 #266D73
square
#522673 #732C26 #477326 #266D73
split-complementary
#522673 #6D7326 #26732C
monochromatic
#100817 #311745 #522673 #7335A1 #924FC5

Accessibility & contrast

On white

11.15
#522673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#522673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522673
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522673#FFFFFF#000000##FFFFFF
##5226731.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#173C71
Tritanopia (blue-blind)
#4D3649
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522673;
/* rgb */ color: rgb(82, 38, 115);
/* oklch */ color: oklch(36.9% 0.129 307.5);
Tailwind
colors: {
  custom: {
    50: '#86639c',
    500: '#522673',
    950: '#000000',
  },
}
SCSS
$custom: #522673;
$custom-light: #86639c;
$custom-dark: #000000;
JSON
{
  "hex": "#522673",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 274.286,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.3689,
    "c": 0.12947,
    "h": 307.5
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#522673
secondary
#74A64F
accent
#DA4E8A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #522673

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

Preview Lab → · Contrast checker → · Palette generator →

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