#52348E#52348E

#52348E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.142 H 294.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#52348E
RGBrgb(82, 52, 142)
HSLhsl(260, 46%, 38%)
HSVhsv(260, 63%, 56%)
CMYKcmyk(42.3%, 63.4%, 0%, 44.3%)
CIE-LABlab(29.92, 34.84, -45.35)
CIE-LCHlch(29.92, 57.19, 307.53°)
OKLaboklab(41.07% 0.0594 -0.1293)
OKLCHoklch(41.07% 0.142 294.7)
XYZxyz(9.5889, 6.2026, 26.2780)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52348E #708E34
analogous
#34438E #52348E #7F348E
triadic
#52348E #8E5234 #348E52
tetradic
#52348E #8E3443 #708E34 #348E7F
square
#52348E #8E3443 #708E34 #348E7F
split-complementary
#52348E #8E7F34 #438E34
monochromatic
#1E1334 #382461 #52348E #6C44BB #8F71CB

Accessibility & contrast

On white

9.37
#52348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#52348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52348E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52348E#FFFFFF#000000##FFFFFF
##52348E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#42485C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #52348e;
/* rgb */ color: rgb(82, 52, 142);
/* oklch */ color: oklch(41.1% 0.142 294.7);
Tailwind
colors: {
  custom: {
    50: '#876db0',
    500: '#52348e',
    950: '#000000',
  },
}
SCSS
$custom: #52348e;
$custom-light: #876db0;
$custom-dark: #000000;
JSON
{
  "hex": "#52348e",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 260,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.14227,
    "h": 294.7
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#52348E
secondary
#9BB36A
accent
#D652AA
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #52348E

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

Preview Lab → · Contrast checker → · Palette generator →

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