#52299A#52299A

#52299A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.172 H 293.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#52299A
RGBrgb(82, 41, 154)
HSLhsl(262, 58%, 38%)
HSVhsv(262, 73%, 60%)
CMYKcmyk(46.8%, 73.4%, 0%, 39.6%)
CIE-LABlab(28.68, 44.29, -54.74)
CIE-LCHlch(28.68, 70.41, 308.98°)
OKLaboklab(40.48% 0.0695 -0.1568)
OKLCHoklch(40.48% 0.172 293.9)
XYZxyz(10.1038, 5.7125, 31.1359)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52299A #719A29
analogous
#29389A #52299A #8A299A
triadic
#52299A #9A5229 #299A52
tetradic
#52299A #9A2938 #719A29 #299A8A
square
#52299A #9A2938 #719A29 #299A8A
split-complementary
#52299A #9A8A29 #389A29
monochromatic
#1F0F39 #381C6A #52299A #6C37CA #8F67D7

Accessibility & contrast

On white

9.80
#52299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#52299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52299A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52299A#FFFFFF#000000##FFFFFF
##52299A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#3D465F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #52299a;
/* rgb */ color: rgb(82, 41, 154);
/* oklch */ color: oklch(40.5% 0.172 293.9);
Tailwind
colors: {
  custom: {
    50: '#8a67b9',
    500: '#52299a',
    950: '#000000',
  },
}
SCSS
$custom: #52299a;
$custom-light: #8a67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#52299a",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 261.77,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.17154,
    "h": 293.9
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#52299A
secondary
#9CBD62
accent
#E147A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #52299A

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

Preview Lab → · Contrast checker → · Palette generator →

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