#52279C#52279C

#52279C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.176 H 293.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#52279C
RGBrgb(82, 39, 156)
HSLhsl(262, 60%, 38%)
HSVhsv(262, 75%, 61%)
CMYKcmyk(47.4%, 75%, 0%, 38.8%)
CIE-LABlab(28.50, 45.84, -56.25)
CIE-LCHlch(28.50, 72.56, 309.18°)
OKLaboklab(40.41% 0.0709 -0.1613)
OKLCHoklch(40.41% 0.176 293.7)
XYZxyz(10.2043, 5.6449, 31.9980)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52279C #719C27
analogous
#27379C #52279C #8C279C
triadic
#52279C #9C5227 #279C52
tetradic
#52279C #9C2737 #719C27 #279C8C
square
#52279C #9C2737 #719C27 #279C8C
split-complementary
#52279C #9C8C27 #379C27
monochromatic
#1F0F3A #381B6B #52279C #6C34CC #8F65D8

Accessibility & contrast

On white

9.86
#52279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#52279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52279C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52279C#FFFFFF#000000##FFFFFF
##52279C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#3C465F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #52279c;
/* rgb */ color: rgb(82, 39, 156);
/* oklch */ color: oklch(40.4% 0.176 293.7);
Tailwind
colors: {
  custom: {
    50: '#8a66ba',
    500: '#52279c',
    950: '#000000',
  },
}
SCSS
$custom: #52279c;
$custom-light: #8a66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#52279c",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 262.051,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.17614,
    "h": 293.7
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#52279C
secondary
#9CBE61
accent
#E345A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #52279C

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

Preview Lab → · Contrast checker → · Palette generator →

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