#52299F#52299F

#52299F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.177 H 292.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#52299F
RGBrgb(82, 41, 159)
HSLhsl(261, 59%, 39%)
HSVhsv(261, 74%, 62%)
CMYKcmyk(48.4%, 74.2%, 0%, 37.6%)
CIE-LABlab(29.11, 45.67, -57.07)
CIE-LCHlch(29.11, 73.09, 308.67°)
OKLaboklab(40.93% 0.0683 -0.1637)
OKLCHoklch(40.93% 0.177 292.7)
XYZxyz(10.5289, 5.8826, 33.3749)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52299F #769F29
analogous
#293B9F #52299F #8D299F
triadic
#52299F #9F5229 #299F52
tetradic
#52299F #9F293B #769F29 #299F8D
square
#52299F #9F293B #769F29 #299F8D
split-complementary
#52299F #9F8D29 #3B9F29
monochromatic
#20103E #391C6E #52299F #6C39CC #906AD9

Accessibility & contrast

On white

9.65
#52299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#52299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52299F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52299F#FFFFFF#000000##FFFFFF
##52299F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#3A4862
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #52299f;
/* rgb */ color: rgb(82, 41, 159);
/* oklch */ color: oklch(40.9% 0.177 292.7);
Tailwind
colors: {
  custom: {
    50: '#8a67bc',
    500: '#52299f',
    950: '#000000',
  },
}
SCSS
$custom: #52299f;
$custom-light: #8a67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#52299f",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 260.847,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4093,
    "c": 0.17736,
    "h": 292.7
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#52299F
secondary
#A0BF65
accent
#E246AC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #52299F

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

Preview Lab → · Contrast checker → · Palette generator →

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