#522293#522293

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

Color values

HEX#522293
RGBrgb(82, 34, 147)
HSLhsl(265, 62%, 35%)
HSVhsv(265, 77%, 58%)
CMYKcmyk(44.2%, 76.9%, 0%, 42.4%)
CIE-LABlab(26.86, 45.80, -53.41)
CIE-LCHlch(26.86, 70.35, 310.61°)
OKLaboklab(39.01% 0.0776 -0.1529)
OKLCHoklch(39.01% 0.171 296.9)
XYZxyz(9.3168, 5.0443, 28.0809)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522293 #639322
analogous
#222A93 #522293 #8A2293
triadic
#522293 #935222 #229352
tetradic
#522293 #93222A #639322 #22938A
square
#522293 #93222A #639322 #22938A
split-complementary
#522293 #938A22 #2A9322
monochromatic
#1B0B30 #361761 #522293 #6E2DC5 #8E57D8

Accessibility & contrast

On white

10.45
#522293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#522293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522293
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522293#FFFFFF#000000##FFFFFF
##5222931.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#414059
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522293;
/* rgb */ color: rgb(82, 34, 147);
/* oklch */ color: oklch(39.0% 0.171 296.9);
Tailwind
colors: {
  custom: {
    50: '#8962b4',
    500: '#522293',
    950: '#000000',
  },
}
SCSS
$custom: #522293;
$custom-light: #8962b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522293",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 265.487,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.17146,
    "h": 296.9
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#522293
secondary
#90BC55
accent
#E542A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522293

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

Preview Lab → · Contrast checker → · Palette generator →

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