#522F93#522F93

#522F93 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.156 H 294.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#522F93
RGBrgb(82, 47, 147)
HSLhsl(261, 52%, 38%)
HSVhsv(261, 68%, 58%)
CMYKcmyk(44.2%, 68%, 0%, 42.4%)
CIE-LABlab(29.24, 39.13, -49.52)
CIE-LCHlch(29.24, 63.12, 308.32°)
OKLaboklab(40.71% 0.0646 -0.1415)
OKLCHoklch(40.71% 0.156 294.5)
XYZxyz(9.7612, 5.9332, 28.2290)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F93 #70932F
analogous
#2F3E93 #522F93 #842F93
triadic
#522F93 #93522F #2F9352
tetradic
#522F93 #932F3E #70932F #2F9384
square
#522F93 #932F3E #70932F #2F9384
split-complementary
#522F93 #93842F #3E932F
monochromatic
#1E1136 #382065 #522F93 #6C3EC1 #8F6CD0

Accessibility & contrast

On white

9.60
#522F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#522F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F93
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F93#FFFFFF#000000##FFFFFF
##522F931.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#40475D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #522f93;
/* rgb */ color: rgb(82, 47, 147);
/* oklch */ color: oklch(40.7% 0.156 294.5);
Tailwind
colors: {
  custom: {
    50: '#886ab3',
    500: '#522f93',
    950: '#000000',
  },
}
SCSS
$custom: #522f93;
$custom-light: #886ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#522f93",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 261,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.1556,
    "h": 294.5
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#522F93
secondary
#9BB766
accent
#DB4DA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522F93

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

Preview Lab → · Contrast checker → · Palette generator →

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