#522994#522994

#522994 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.165 H 295.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#522994
RGBrgb(82, 41, 148)
HSLhsl(263, 57%, 37%)
HSVhsv(263, 72%, 58%)
CMYKcmyk(44.6%, 72.3%, 0%, 42%)
CIE-LABlab(28.16, 42.64, -51.90)
CIE-LCHlch(28.16, 67.17, 309.40°)
OKLaboklab(39.96% 0.0708 -0.1485)
OKLCHoklch(39.96% 0.165 295.5)
XYZxyz(9.6165, 5.5176, 28.5696)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522994 #6B9429
analogous
#293594 #522994 #882994
triadic
#522994 #945229 #299452
tetradic
#522994 #942935 #6B9429 #299488
square
#522994 #942935 #6B9429 #299488
split-complementary
#522994 #948829 #359429
monochromatic
#1D0E34 #371C64 #522994 #6D36C4 #8F63D4

Accessibility & contrast

On white

9.98
#522994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#522994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522994
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522994#FFFFFF#000000##FFFFFF
##5229941.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#40445B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522994;
/* rgb */ color: rgb(82, 41, 148);
/* oklch */ color: oklch(40.0% 0.165 295.5);
Tailwind
colors: {
  custom: {
    50: '#8966b4',
    500: '#522994',
    950: '#000000',
  },
}
SCSS
$custom: #522994;
$custom-light: #8966b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522994",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 262.991,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3996,
    "c": 0.1645,
    "h": 295.5
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#522994
secondary
#97BA5F
accent
#E048A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522994

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

Preview Lab → · Contrast checker → · Palette generator →

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