#52199C#52199C

#52199C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.190 H 295.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#52199C
RGBrgb(82, 25, 156)
HSLhsl(266, 72%, 35%)
HSVhsv(266, 84%, 61%)
CMYKcmyk(47.4%, 84%, 0%, 38.8%)
CIE-LABlab(26.42, 51.84, -59.66)
CIE-LCHlch(26.42, 79.04, 310.99°)
OKLaboklab(38.96% 0.0817 -0.1711)
OKLCHoklch(38.96% 0.19 295.5)
XYZxyz(9.8264, 4.8891, 31.8720)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52199C #639C19
analogous
#19219C #52199C #93199C
triadic
#52199C #9C5219 #199C52
tetradic
#52199C #9C1921 #639C19 #199C93
square
#52199C #9C1921 #639C19 #199C93
split-complementary
#52199C #9C9319 #219C19
monochromatic
#1B0833 #361167 #52199C #6E21D1 #8E4DE2

Accessibility & contrast

On white

10.62
#52199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#52199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52199C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52199C#FFFFFF#000000##FFFFFF
##52199C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#3C405C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #52199c;
/* rgb */ color: rgb(82, 25, 156);
/* oklch */ color: oklch(39.0% 0.190 295.5);
Tailwind
colors: {
  custom: {
    50: '#8b5fba',
    500: '#52199c',
    950: '#000000',
  },
}
SCSS
$custom: #52199c;
$custom-light: #8b5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#52199c",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 266.107,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.18965,
    "h": 295.5
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#52199C
secondary
#90C44C
accent
#EF39A0
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #52199C

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

Preview Lab → · Contrast checker → · Palette generator →

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