#522094#522094

#522094 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.175 H 296.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#522094
RGBrgb(82, 32, 148)
HSLhsl(266, 64%, 35%)
HSVhsv(266, 78%, 58%)
CMYKcmyk(44.6%, 78.4%, 0%, 42%)
CIE-LABlab(26.63, 46.96, -54.39)
CIE-LCHlch(26.63, 71.86, 310.81°)
OKLaboklab(38.88% 0.0791 -0.1558)
OKLCHoklch(38.88% 0.175 296.9)
XYZxyz(9.3401, 4.9648, 28.4774)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522094 #629420
analogous
#202894 #522094 #8C2094
triadic
#522094 #945220 #209452
tetradic
#522094 #942028 #629420 #20948C
square
#522094 #942028 #629420 #20948C
split-complementary
#522094 #948C20 #289420
monochromatic
#1A0A2F #361562 #522094 #6E2BC6 #8E54DA

Accessibility & contrast

On white

10.54
#522094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#522094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522094
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522094#FFFFFF#000000##FFFFFF
##5220941.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522094;
/* rgb */ color: rgb(82, 32, 148);
/* oklch */ color: oklch(38.9% 0.175 296.9);
Tailwind
colors: {
  custom: {
    50: '#8961b4',
    500: '#522094',
    950: '#000000',
  },
}
SCSS
$custom: #522094;
$custom-light: #8961b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522094",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 265.862,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38883,
    "c": 0.17469,
    "h": 296.9
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#522094
secondary
#8FBE52
accent
#E7409F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522094

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

Preview Lab → · Contrast checker → · Palette generator →

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