#52248C#52248C

#52248C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.161 H 298.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#52248C
RGBrgb(82, 36, 140)
HSLhsl(267, 59%, 35%)
HSVhsv(267, 74%, 55%)
CMYKcmyk(41.4%, 74.3%, 0%, 45.1%)
CIE-LABlab(26.59, 42.99, -49.52)
CIE-LCHlch(26.59, 65.58, 310.96°)
OKLaboklab(38.64% 0.0774 -0.1415)
OKLCHoklch(38.64% 0.161 298.7)
XYZxyz(8.8430, 4.9489, 25.2952)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52248C #5E8C24
analogous
#242A8C #52248C #86248C
triadic
#52248C #8C5224 #248C52
tetradic
#52248C #8C242A #5E8C24 #248C86
square
#52248C #8C242A #5E8C24 #248C86
split-complementary
#52248C #8C8624 #2A8C24
monochromatic
#190B2B #35175B #52248C #6F31BD #8E57D4

Accessibility & contrast

On white

10.55
#52248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#52248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52248C
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52248C#FFFFFF#000000##FFFFFF
##52248C1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#443E56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #52248c;
/* rgb */ color: rgb(82, 36, 140);
/* oklch */ color: oklch(38.6% 0.161 298.7);
Tailwind
colors: {
  custom: {
    50: '#8863ae',
    500: '#52248c',
    950: '#000000',
  },
}
SCSS
$custom: #52248c;
$custom-light: #8863ae;
$custom-dark: #000000;
JSON
{
  "hex": "#52248c",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 266.538,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.16128,
    "h": 298.7
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#52248C
secondary
#8CB854
accent
#E2469D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #52248C

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

Preview Lab → · Contrast checker → · Palette generator →

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