#522594#522594

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

Color values

HEX#522594
RGBrgb(82, 37, 148)
HSLhsl(264, 60%, 36%)
HSVhsv(264, 75%, 58%)
CMYKcmyk(44.6%, 75%, 0%, 42%)
CIE-LABlab(27.45, 44.64, -53.06)
CIE-LCHlch(27.45, 69.34, 310.07°)
OKLaboklab(39.46% 0.0746 -0.1519)
OKLCHoklch(39.46% 0.169 296.2)
XYZxyz(9.4851, 5.2549, 28.5258)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522594 #679425
analogous
#253094 #522594 #8A2594
triadic
#522594 #945225 #259452
tetradic
#522594 #942530 #679425 #25948A
square
#522594 #942530 #679425 #25948A
split-complementary
#522594 #948A25 #309425
monochromatic
#1C0D32 #371963 #522594 #6D31C5 #8E5DD6

Accessibility & contrast

On white

10.24
#522594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#522594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522594
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522594#FFFFFF#000000##FFFFFF
##5225941.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#40425A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #522594;
/* rgb */ color: rgb(82, 37, 148);
/* oklch */ color: oklch(39.5% 0.169 296.2);
Tailwind
colors: {
  custom: {
    50: '#8964b4',
    500: '#522594',
    950: '#000000',
  },
}
SCSS
$custom: #522594;
$custom-light: #8964b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522594",
  "rgb": {
    "r": 82,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 264.324,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.16923,
    "h": 296.2
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#522594
secondary
#94BB59
accent
#E345A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522594

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

Preview Lab → · Contrast checker → · Palette generator →

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