#52349A#52349A

#52349A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.158 H 291.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#52349A
RGBrgb(82, 52, 154)
HSLhsl(258, 50%, 40%)
HSVhsv(258, 66%, 60%)
CMYKcmyk(46.8%, 66.2%, 0%, 39.6%)
CIE-LABlab(30.84, 38.32, -51.21)
CIE-LCHlch(30.84, 63.97, 306.81°)
OKLaboklab(42.03% 0.0583 -0.1465)
OKLCHoklch(42.03% 0.158 291.7)
XYZxyz(10.5388, 6.5826, 31.2809)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52349A #7C9A34
analogous
#34499A #52349A #85349A
triadic
#52349A #9A5234 #349A52
tetradic
#52349A #9A3449 #7C9A34 #349A85
square
#52349A #9A3449 #7C9A34 #349A85
split-complementary
#52349A #9A8534 #499A34
monochromatic
#21153E #3A256C #52349A #6D49C2 #9277D1

Accessibility & contrast

On white

9.07
#52349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#52349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52349A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52349A#FFFFFF#000000##FFFFFF
##52349A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#3C4C62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #52349a;
/* rgb */ color: rgb(82, 52, 154);
/* oklch */ color: oklch(42.0% 0.158 291.7);
Tailwind
colors: {
  custom: {
    50: '#896db9',
    500: '#52349a',
    950: '#000000',
  },
}
SCSS
$custom: #52349a;
$custom-light: #896db9;
$custom-dark: #000000;
JSON
{
  "hex": "#52349a",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 257.647,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.15769,
    "h": 291.7
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#52349A
secondary
#A4BA70
accent
#D94FB0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #52349A

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

Preview Lab → · Contrast checker → · Palette generator →

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