#52269A#52269A

#52269A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.175 H 294.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#52269A
RGBrgb(82, 38, 154)
HSLhsl(263, 60%, 38%)
HSVhsv(263, 75%, 60%)
CMYKcmyk(46.8%, 75.3%, 0%, 39.6%)
CIE-LABlab(28.15, 45.78, -55.60)
CIE-LCHlch(28.15, 72.02, 309.47°)
OKLaboklab(40.11% 0.0722 -0.1593)
OKLCHoklch(40.11% 0.175 294.4)
XYZxyz(10.0039, 5.5129, 31.1026)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52269A #6E9A26
analogous
#26349A #52269A #8C269A
triadic
#52269A #9A5226 #269A52
tetradic
#52269A #9A2634 #6E9A26 #269A8C
square
#52269A #9A2634 #6E9A26 #269A8C
split-complementary
#52269A #9A8C26 #349A26
monochromatic
#1E0E38 #381A69 #52269A #6C32CB #8F62D8

Accessibility & contrast

On white

9.99
#52269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#52269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52269A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52269A#FFFFFF#000000##FFFFFF
##52269A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#3D455E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #52269a;
/* rgb */ color: rgb(82, 38, 154);
/* oklch */ color: oklch(40.1% 0.175 294.4);
Tailwind
colors: {
  custom: {
    50: '#8a65b9',
    500: '#52269a',
    950: '#000000',
  },
}
SCSS
$custom: #52269a;
$custom-light: #8a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#52269a",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 262.759,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.17495,
    "h": 294.4
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#52269A
secondary
#99BE5E
accent
#E444A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #52269A

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

Preview Lab → · Contrast checker → · Palette generator →

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