#52328E#52328E

#52328E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.145 H 295.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#52328E
RGBrgb(82, 50, 142)
HSLhsl(261, 48%, 38%)
HSVhsv(261, 65%, 56%)
CMYKcmyk(42.3%, 64.8%, 0%, 44.3%)
CIE-LABlab(29.48, 36.01, -46.06)
CIE-LCHlch(29.48, 58.46, 308.02°)
OKLaboklab(40.76% 0.0618 -0.1313)
OKLCHoklch(40.76% 0.145 295.2)
XYZxyz(9.5015, 6.0278, 26.2488)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52328E #6E8E32
analogous
#32408E #52328E #80328E
triadic
#52328E #8E5232 #328E52
tetradic
#52328E #8E3240 #6E8E32 #328E80
square
#52328E #8E3240 #6E8E32 #328E80
split-complementary
#52328E #8E8032 #408E32
monochromatic
#1E1233 #382261 #52328E #6C42BB #8F6ECC

Accessibility & contrast

On white

9.52
#52328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52328E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52328E#FFFFFF#000000##FFFFFF
##52328E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#42475B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #52328e;
/* rgb */ color: rgb(82, 50, 142);
/* oklch */ color: oklch(40.8% 0.145 295.2);
Tailwind
colors: {
  custom: {
    50: '#876cb0',
    500: '#52328e',
    950: '#000000',
  },
}
SCSS
$custom: #52328e;
$custom-light: #876cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#52328e",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 260.87,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40758,
    "c": 0.14516,
    "h": 295.2
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#52328E
secondary
#99B468
accent
#D850A8
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #52328E

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

Preview Lab → · Contrast checker → · Palette generator →

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