#52269B#52269B

#52269B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.176 H 294.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#52269B
RGBrgb(82, 38, 155)
HSLhsl(263, 61%, 38%)
HSVhsv(263, 75%, 61%)
CMYKcmyk(47.1%, 75.5%, 0%, 39.2%)
CIE-LABlab(28.24, 46.05, -56.06)
CIE-LCHlch(28.24, 72.55, 309.40°)
OKLaboklab(40.2% 0.072 -0.1607)
OKLCHoklch(40.2% 0.176 294.1)
XYZxyz(10.0876, 5.5463, 31.5430)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52269B #6F9B26
analogous
#26349B #52269B #8C269B
triadic
#52269B #9B5226 #269B52
tetradic
#52269B #9B2634 #6F9B26 #269B8C
square
#52269B #9B2634 #6F9B26 #269B8C
split-complementary
#52269B #9B8C26 #349B26
monochromatic
#1E0E39 #381A6A #52269B #6C32CC #8F63D9

Accessibility & contrast

On white

9.96
#52269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#52269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52269B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52269B#FFFFFF#000000##FFFFFF
##52269B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#3C455F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #52269b;
/* rgb */ color: rgb(82, 38, 155);
/* oklch */ color: oklch(40.2% 0.176 294.1);
Tailwind
colors: {
  custom: {
    50: '#8a65b9',
    500: '#52269b',
    950: '#000000',
  },
}
SCSS
$custom: #52269b;
$custom-light: #8a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#52269b",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 262.564,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.1761,
    "h": 294.1
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #52269B

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

Preview Lab → · Contrast checker → · Palette generator →

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