#52299C#52299C

#52299C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.174 H 293.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#52299C
RGBrgb(82, 41, 156)
HSLhsl(261, 58%, 39%)
HSVhsv(261, 74%, 61%)
CMYKcmyk(47.4%, 73.7%, 0%, 38.8%)
CIE-LABlab(28.85, 44.84, -55.67)
CIE-LCHlch(28.85, 71.49, 308.85°)
OKLaboklab(40.66% 0.069 -0.1596)
OKLCHoklch(40.66% 0.174 293.4)
XYZxyz(10.2717, 5.7797, 32.0204)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52299C #739C29
analogous
#29399C #52299C #8B299C
triadic
#52299C #9C5229 #299C52
tetradic
#52299C #9C2939 #739C29 #299C8B
square
#52299C #9C2939 #739C29 #299C8B
split-complementary
#52299C #9C8B29 #399C29
monochromatic
#1F103B #391C6C #52299C #6C38CB #9068D7

Accessibility & contrast

On white

9.74
#52299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#52299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52299C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52299C#FFFFFF#000000##FFFFFF
##52299C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#3C4760
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #52299c;
/* rgb */ color: rgb(82, 41, 156);
/* oklch */ color: oklch(40.7% 0.174 293.4);
Tailwind
colors: {
  custom: {
    50: '#8a67ba',
    500: '#52299c',
    950: '#000000',
  },
}
SCSS
$custom: #52299c;
$custom-light: #8a67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#52299c",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 261.391,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.17387,
    "h": 293.4
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#52299C
secondary
#9DBE63
accent
#E246AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #52299C

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

Preview Lab → · Contrast checker → · Palette generator →

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