#522194#522194

#522194 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.174 H 296.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#522194
RGBrgb(82, 33, 148)
HSLhsl(266, 64%, 35%)
HSVhsv(266, 78%, 58%)
CMYKcmyk(44.6%, 77.7%, 0%, 42%)
CIE-LABlab(26.79, 46.52, -54.14)
CIE-LCHlch(26.79, 71.38, 310.67°)
OKLaboklab(38.99% 0.0782 -0.155)
OKLCHoklch(38.99% 0.174 296.8)
XYZxyz(9.3674, 5.0195, 28.4865)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522194 #639421
analogous
#212A94 #522194 #8B2194
triadic
#522194 #945221 #219452
tetradic
#522194 #94212A #639421 #21948B
square
#522194 #94212A #639421 #21948B
split-complementary
#522194 #948B21 #2A9421
monochromatic
#1B0B30 #361662 #522194 #6E2CC6 #8E56D9

Accessibility & contrast

On white

10.48
#522194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#522194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522194
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522194#FFFFFF#000000##FFFFFF
##5221941.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#404059
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522194;
/* rgb */ color: rgb(82, 33, 148);
/* oklch */ color: oklch(39.0% 0.174 296.8);
Tailwind
colors: {
  custom: {
    50: '#8962b4',
    500: '#522194',
    950: '#000000',
  },
}
SCSS
$custom: #522194;
$custom-light: #8962b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522194",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 265.565,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38992,
    "c": 0.17365,
    "h": 296.8
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#522194
secondary
#90BD54
accent
#E741A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522194

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

Preview Lab → · Contrast checker → · Palette generator →

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