#52328F#52328F

#52328F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.146 H 294.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#52328F
RGBrgb(82, 50, 143)
HSLhsl(261, 48%, 38%)
HSVhsv(261, 65%, 56%)
CMYKcmyk(42.7%, 65%, 0%, 43.9%)
CIE-LABlab(29.56, 36.29, -46.55)
CIE-LCHlch(29.56, 59.03, 307.94°)
OKLaboklab(40.84% 0.0617 -0.1328)
OKLCHoklch(40.84% 0.146 294.9)
XYZxyz(9.5769, 6.0580, 26.6460)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52328F #6F8F32
analogous
#32408F #52328F #80328F
triadic
#52328F #8F5232 #328F52
tetradic
#52328F #8F3240 #6F8F32 #328F80
square
#52328F #8F3240 #6F8F32 #328F80
split-complementary
#52328F #8F8032 #408F32
monochromatic
#1E1234 #382262 #52328F #6C42BC #8F6FCD

Accessibility & contrast

On white

9.50
#52328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#52328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52328F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52328F#FFFFFF#000000##FFFFFF
##52328F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#42475C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #52328f;
/* rgb */ color: rgb(82, 50, 143);
/* oklch */ color: oklch(40.8% 0.146 294.9);
Tailwind
colors: {
  custom: {
    50: '#886cb0',
    500: '#52328f',
    950: '#000000',
  },
}
SCSS
$custom: #52328f;
$custom-light: #886cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#52328f",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 260.645,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.14643,
    "h": 294.9
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#52328F
secondary
#9AB468
accent
#D850A9
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #52328F

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

Preview Lab → · Contrast checker → · Palette generator →

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