#522694#522694

#522694 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.168 H 296.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#522694
RGBrgb(82, 38, 148)
HSLhsl(264, 59%, 36%)
HSVhsv(264, 74%, 58%)
CMYKcmyk(44.6%, 74.3%, 0%, 42%)
CIE-LABlab(27.62, 44.15, -52.78)
CIE-LCHlch(27.62, 68.81, 309.91°)
OKLaboklab(39.58% 0.0737 -0.1511)
OKLCHoklch(39.58% 0.168 296)
XYZxyz(9.5167, 5.3180, 28.5363)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522694 #689426
analogous
#263194 #522694 #892694
triadic
#522694 #945226 #269452
tetradic
#522694 #942631 #689426 #269489
square
#522694 #942631 #689426 #269489
split-complementary
#522694 #948926 #319426
monochromatic
#1C0D33 #371963 #522694 #6D33C5 #8E5FD6

Accessibility & contrast

On white

10.18
#522694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522694
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522694#FFFFFF#000000##FFFFFF
##5226941.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#40425B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #522694;
/* rgb */ color: rgb(82, 38, 148);
/* oklch */ color: oklch(39.6% 0.168 296.0);
Tailwind
colors: {
  custom: {
    50: '#8965b4',
    500: '#522694',
    950: '#000000',
  },
}
SCSS
$custom: #522694;
$custom-light: #8965b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522694",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 264,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.16808,
    "h": 296
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#522694
secondary
#95BB5B
accent
#E245A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522694

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

Preview Lab → · Contrast checker → · Palette generator →

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