#522F90#522F90

#522F90 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.152 H 295.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#522F90
RGBrgb(82, 47, 144)
HSLhsl(262, 51%, 37%)
HSVhsv(262, 67%, 56%)
CMYKcmyk(43.1%, 67.4%, 0%, 43.5%)
CIE-LABlab(29.01, 38.29, -48.06)
CIE-LCHlch(29.01, 61.45, 308.54°)
OKLaboklab(40.46% 0.065 -0.1372)
OKLCHoklch(40.46% 0.152 295.4)
XYZxyz(9.5289, 5.8403, 27.0054)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F90 #6D902F
analogous
#2F3D90 #522F90 #822F90
triadic
#522F90 #90522F #2F9052
tetradic
#522F90 #902F3D #6D902F #2F9082
square
#522F90 #902F3D #6D902F #2F9082
split-complementary
#522F90 #90822F #3D902F
monochromatic
#1D1134 #382062 #522F90 #6C3EBE #8F6BCF

Accessibility & contrast

On white

9.69
#522F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#522F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F90
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F90#FFFFFF#000000##FFFFFF
##522F901.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#42465B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #522f90;
/* rgb */ color: rgb(82, 47, 144);
/* oklch */ color: oklch(40.5% 0.152 295.4);
Tailwind
colors: {
  custom: {
    50: '#886ab1',
    500: '#522f90',
    950: '#000000',
  },
}
SCSS
$custom: #522f90;
$custom-light: #886ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#522f90",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 261.649,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.15188,
    "h": 295.4
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#522F90
secondary
#99B665
accent
#DA4EA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522F90

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

Preview Lab → · Contrast checker → · Palette generator →

#522F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva