#52328D#52328D

#52328D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.144 H 295.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#52328D
RGBrgb(82, 50, 141)
HSLhsl(261, 48%, 37%)
HSVhsv(261, 65%, 55%)
CMYKcmyk(41.8%, 64.5%, 0%, 44.7%)
CIE-LABlab(29.41, 35.72, -45.56)
CIE-LCHlch(29.41, 57.90, 308.10°)
OKLaboklab(40.68% 0.0619 -0.1299)
OKLCHoklch(40.68% 0.144 295.5)
XYZxyz(9.4267, 5.9979, 25.8552)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52328D #6D8D32
analogous
#323F8D #52328D #80328D
triadic
#52328D #8D5232 #328D52
tetradic
#52328D #8D323F #6D8D32 #328D80
square
#52328D #8D323F #6D8D32 #328D80
split-complementary
#52328D #8D8032 #3F8D32
monochromatic
#1D1233 #382260 #52328D #6C42BA #8F6ECC

Accessibility & contrast

On white

9.55
#52328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#52328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52328D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52328D#FFFFFF#000000##FFFFFF
##52328D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#43475A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #52328d;
/* rgb */ color: rgb(82, 50, 141);
/* oklch */ color: oklch(40.7% 0.144 295.5);
Tailwind
colors: {
  custom: {
    50: '#876caf',
    500: '#52328d',
    950: '#000000',
  },
}
SCSS
$custom: #52328d;
$custom-light: #876caf;
$custom-dark: #000000;
JSON
{
  "hex": "#52328d",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 261.099,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.14387,
    "h": 295.5
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#52328D
secondary
#99B368
accent
#D751A8
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #52328D

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

Preview Lab → · Contrast checker → · Palette generator →

#52328D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva