#52379A#52379A

#52379A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.154 H 291.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#52379A
RGBrgb(82, 55, 154)
HSLhsl(256, 47%, 41%)
HSVhsv(256, 64%, 60%)
CMYKcmyk(46.8%, 64.3%, 0%, 39.6%)
CIE-LABlab(31.48, 36.58, -50.16)
CIE-LCHlch(31.48, 62.09, 306.10°)
OKLaboklab(42.5% 0.055 -0.1434)
OKLCHoklch(42.5% 0.154 291)
XYZxyz(10.6770, 6.8589, 31.3269)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52379A #7F9A37
analogous
#374D9A #52379A #83379A
triadic
#52379A #9A5237 #379A52
tetradic
#52379A #9A374D #7F9A37 #379A83
square
#52379A #9A374D #7F9A37 #379A83
split-complementary
#52379A #9A8337 #4D9A37
monochromatic
#221740 #3A276D #52379A #6D4EC0 #927BD0

Accessibility & contrast

On white

8.85
#52379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#52379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52379A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52379A#FFFFFF#000000##FFFFFF
##52379A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#3C4E63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #52379a;
/* rgb */ color: rgb(82, 55, 154);
/* oklch */ color: oklch(42.5% 0.154 291.0);
Tailwind
colors: {
  custom: {
    50: '#896fb8',
    500: '#52379a',
    950: '#000000',
  },
}
SCSS
$custom: #52379a;
$custom-light: #896fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#52379a",
  "rgb": {
    "r": 82,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 256.364,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.15361,
    "h": 291
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#52379A
secondary
#A6B974
accent
#D751B2
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #52379A

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

Preview Lab → · Contrast checker → · Palette generator →

#52379A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva