#52269E#52269E

#52269E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.180 H 293.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#52269E
RGBrgb(82, 38, 158)
HSLhsl(262, 61%, 38%)
HSVhsv(262, 76%, 62%)
CMYKcmyk(48.1%, 75.9%, 0%, 38%)
CIE-LABlab(28.51, 46.87, -57.45)
CIE-LCHlch(28.51, 74.14, 309.21°)
OKLaboklab(40.48% 0.0712 -0.1648)
OKLCHoklch(40.48% 0.18 293.4)
XYZxyz(10.3426, 5.6484, 32.8864)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52269E #729E26
analogous
#26369E #52269E #8E269E
triadic
#52269E #9E5226 #269E52
tetradic
#52269E #9E2636 #729E26 #269E8E
square
#52269E #9E2636 #729E26 #269E8E
split-complementary
#52269E #9E8E26 #369E26
monochromatic
#1F0E3B #381A6D #52269E #6C33CE #9065DA

Accessibility & contrast

On white

9.86
#52269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#52269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52269E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52269E#FFFFFF#000000##FFFFFF
##52269E1.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)
#0045A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#3B4660
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #52269e;
/* rgb */ color: rgb(82, 38, 158);
/* oklch */ color: oklch(40.5% 0.180 293.4);
Tailwind
colors: {
  custom: {
    50: '#8a65bc',
    500: '#52269e',
    950: '#000000',
  },
}
SCSS
$custom: #52269e;
$custom-light: #8a65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#52269e",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 262,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.17951,
    "h": 293.4
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#52269E
secondary
#9DC060
accent
#E443A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #52269E

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

Preview Lab → · Contrast checker → · Palette generator →

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