#522575#522575

#522575 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.133 H 306.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#522575
RGBrgb(82, 37, 117)
HSLhsl(274, 52%, 30%)
HSVhsv(274, 68%, 46%)
CMYKcmyk(29.9%, 68.4%, 0%, 54.1%)
CIE-LABlab(24.96, 36.50, -37.69)
CIE-LCHlch(24.96, 52.46, 314.08°)
OKLaboklab(36.9% 0.0799 -0.1067)
OKLCHoklch(36.9% 0.133 306.8)
XYZxyz(7.3514, 4.4014, 17.2884)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522575 #487525
analogous
#2A2575 #522575 #752570
triadic
#522575 #755225 #257552
tetradic
#522575 #752A25 #487525 #257075
square
#522575 #752A25 #487525 #257075
split-complementary
#522575 #707525 #25752A
monochromatic
#110818 #311647 #522575 #7334A3 #924EC7

Accessibility & contrast

On white

11.17
#522575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#522575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522575
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522575#FFFFFF#000000##FFFFFF
##5225751.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#133C73
Tritanopia (blue-blind)
#4C3649
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522575;
/* rgb */ color: rgb(82, 37, 117);
/* oklch */ color: oklch(36.9% 0.133 306.8);
Tailwind
colors: {
  custom: {
    50: '#86639d',
    500: '#522575',
    950: '#000000',
  },
}
SCSS
$custom: #522575;
$custom-light: #86639d;
$custom-dark: #000000;
JSON
{
  "hex": "#522575",
  "rgb": {
    "r": 82,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 273.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.13332,
    "h": 306.8
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#522575
secondary
#75A84E
accent
#DB4C8B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #522575

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

Preview Lab → · Contrast checker → · Palette generator →

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