#522095#522095

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

Color values

HEX#522095
RGBrgb(82, 32, 149)
HSLhsl(266, 65%, 35%)
HSVhsv(266, 79%, 58%)
CMYKcmyk(45%, 78.5%, 0%, 41.6%)
CIE-LABlab(26.73, 47.22, -54.86)
CIE-LCHlch(26.73, 72.39, 310.72°)
OKLaboklab(38.98% 0.0788 -0.1571)
OKLCHoklch(38.98% 0.176 296.6)
XYZxyz(9.4196, 4.9966, 28.8961)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522095 #639520
analogous
#202895 #522095 #8C2095
triadic
#522095 #955220 #209552
tetradic
#522095 #952028 #639520 #20958C
square
#522095 #952028 #639520 #20958C
split-complementary
#522095 #958C20 #289520
monochromatic
#1B0A30 #361563 #522095 #6E2BC7 #8E55DA

Accessibility & contrast

On white

10.50
#522095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522095
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522095#FFFFFF#000000##FFFFFF
##5220951.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#40405A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522095;
/* rgb */ color: rgb(82, 32, 149);
/* oklch */ color: oklch(39.0% 0.176 296.6);
Tailwind
colors: {
  custom: {
    50: '#8a62b5',
    500: '#522095',
    950: '#000000',
  },
}
SCSS
$custom: #522095;
$custom-light: #8a62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#522095",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 265.641,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.17579,
    "h": 296.6
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#522095
secondary
#90BE53
accent
#E840A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522095

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

Preview Lab → · Contrast checker → · Palette generator →

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