#52269C#52269C

#52269C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.177 H 293.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#52269C
RGBrgb(82, 38, 156)
HSLhsl(262, 61%, 38%)
HSVhsv(262, 76%, 61%)
CMYKcmyk(47.4%, 75.6%, 0%, 38.8%)
CIE-LABlab(28.33, 46.32, -56.53)
CIE-LCHlch(28.33, 73.08, 309.33°)
OKLaboklab(40.29% 0.0717 -0.1621)
OKLCHoklch(40.29% 0.177 293.9)
XYZxyz(10.1719, 5.5801, 31.9872)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52269C #709C26
analogous
#26359C #52269C #8D269C
triadic
#52269C #9C5226 #269C52
tetradic
#52269C #9C2635 #709C26 #269C8D
square
#52269C #9C2635 #709C26 #269C8D
split-complementary
#52269C #9C8D26 #359C26
monochromatic
#1E0E3A #381A6B #52269C #6C32CD #8F63D9

Accessibility & contrast

On white

9.92
#52269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#52269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52269C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52269C#FFFFFF#000000##FFFFFF
##52269C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.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: #52269c;
/* rgb */ color: rgb(82, 38, 156);
/* oklch */ color: oklch(40.3% 0.177 293.9);
Tailwind
colors: {
  custom: {
    50: '#8a65ba',
    500: '#52269c',
    950: '#000000',
  },
}
SCSS
$custom: #52269c;
$custom-light: #8a65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#52269c",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 262.373,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.17724,
    "h": 293.9
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#52269C
secondary
#9BBF5F
accent
#E444A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #52269C

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

Preview Lab → · Contrast checker → · Palette generator →

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