#522390#522390

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

Color values

HEX#522390
RGBrgb(82, 35, 144)
HSLhsl(266, 61%, 35%)
HSVhsv(266, 76%, 56%)
CMYKcmyk(43.1%, 75.7%, 0%, 43.5%)
CIE-LABlab(26.76, 44.53, -51.72)
CIE-LCHlch(26.76, 68.25, 310.73°)
OKLaboklab(38.86% 0.0775 -0.1479)
OKLCHoklch(38.86% 0.167 297.6)
XYZxyz(9.1134, 5.0094, 26.8669)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522390 #619023
analogous
#232A90 #522390 #892390
triadic
#522390 #905223 #239052
tetradic
#522390 #90232A #619023 #239089
square
#522390 #90232A #619023 #239089
split-complementary
#522390 #908923 #2A9023
monochromatic
#1A0B2E #36175F #522390 #6E2FC1 #8E57D6

Accessibility & contrast

On white

10.49
#522390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522390
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522390#FFFFFF#000000##FFFFFF
##5223901.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#423F58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522390;
/* rgb */ color: rgb(82, 35, 144);
/* oklch */ color: oklch(38.9% 0.167 297.6);
Tailwind
colors: {
  custom: {
    50: '#8963b1',
    500: '#522390',
    950: '#000000',
  },
}
SCSS
$custom: #522390;
$custom-light: #8963b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522390",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 265.872,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.16698,
    "h": 297.6
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#522390
secondary
#8EBA54
accent
#E4449F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522390

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

Preview Lab → · Contrast checker → · Palette generator →

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