#522075#522075

#522075 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.140 H 307.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#522075
RGBrgb(82, 32, 117)
HSLhsl(275, 57%, 29%)
HSVhsv(275, 73%, 46%)
CMYKcmyk(29.9%, 72.6%, 0%, 54.1%)
CIE-LABlab(24.04, 39.05, -39.17)
CIE-LCHlch(24.04, 55.31, 314.91°)
OKLaboklab(36.24% 0.0859 -0.111)
OKLCHoklch(36.24% 0.14 307.7)
XYZxyz(7.2064, 4.1113, 17.2401)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522075 #437520
analogous
#282075 #522075 #75206E
triadic
#522075 #755220 #207552
tetradic
#522075 #752820 #437520 #206E75
square
#522075 #752820 #437520 #206E75
split-complementary
#522075 #6E7520 #207528
monochromatic
#110718 #301345 #522075 #742DA5 #9444CC

Accessibility & contrast

On white

11.52
#522075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#522075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522075
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522075#FFFFFF#000000##FFFFFF
##5220751.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#093A73
Tritanopia (blue-blind)
#4C3348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #522075;
/* rgb */ color: rgb(82, 32, 117);
/* oklch */ color: oklch(36.2% 0.140 307.7);
Tailwind
colors: {
  custom: {
    50: '#86609d',
    500: '#522075',
    950: '#000000',
  },
}
SCSS
$custom: #522075;
$custom-light: #86609d;
$custom-dark: #000000;
JSON
{
  "hex": "#522075",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 275.294,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36239,
    "c": 0.1404,
    "h": 307.7
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#522075
secondary
#70A848
accent
#E04786
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #522075

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

Preview Lab → · Contrast checker → · Palette generator →

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