#522693#522693

#522693 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.167 H 296.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#522693
RGBrgb(82, 38, 147)
HSLhsl(264, 59%, 36%)
HSVhsv(264, 74%, 58%)
CMYKcmyk(44.2%, 74.1%, 0%, 42.4%)
CIE-LABlab(27.54, 43.88, -52.30)
CIE-LCHlch(27.54, 68.27, 309.99°)
OKLaboklab(39.49% 0.0739 -0.1497)
OKLCHoklch(39.49% 0.167 296.3)
XYZxyz(9.4379, 5.2864, 28.1212)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522693 #679326
analogous
#263193 #522693 #892693
triadic
#522693 #935226 #269352
tetradic
#522693 #932631 #679326 #269389
square
#522693 #932631 #679326 #269389
split-complementary
#522693 #938926 #319326
monochromatic
#1C0D32 #371962 #522693 #6D33C4 #8E5ED5

Accessibility & contrast

On white

10.21
#522693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#522693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522693
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522693#FFFFFF#000000##FFFFFF
##5226931.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#41425A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #522693;
/* rgb */ color: rgb(82, 38, 147);
/* oklch */ color: oklch(39.5% 0.167 296.3);
Tailwind
colors: {
  custom: {
    50: '#8965b4',
    500: '#522693',
    950: '#000000',
  },
}
SCSS
$custom: #522693;
$custom-light: #8965b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522693",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 264.22,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.16692,
    "h": 296.3
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#522693
secondary
#94BA5A
accent
#E246A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522693

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

Preview Lab → · Contrast checker → · Palette generator →

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