#52298F#52298F

#52298F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.159 H 296.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#52298F
RGBrgb(82, 41, 143)
HSLhsl(264, 55%, 36%)
HSVhsv(264, 71%, 56%)
CMYKcmyk(42.7%, 71.3%, 0%, 43.9%)
CIE-LABlab(27.74, 41.26, -49.50)
CIE-LCHlch(27.74, 64.44, 309.82°)
OKLaboklab(39.53% 0.0717 -0.1414)
OKLCHoklch(39.53% 0.159 296.9)
XYZxyz(9.2292, 5.3627, 26.5301)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52298F #668F29
analogous
#29338F #52298F #85298F
triadic
#52298F #8F5229 #298F52
tetradic
#52298F #8F2933 #668F29 #298F85
square
#52298F #8F2933 #668F29 #298F85
split-complementary
#52298F #8F8529 #338F29
monochromatic
#1B0E30 #371B5F #52298F #6D37BF #8E61D2

Accessibility & contrast

On white

10.13
#52298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#52298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52298F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52298F#FFFFFF#000000##FFFFFF
##52298F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#424259
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #52298f;
/* rgb */ color: rgb(82, 41, 143);
/* oklch */ color: oklch(39.5% 0.159 296.9);
Tailwind
colors: {
  custom: {
    50: '#8866b1',
    500: '#52298f',
    950: '#000000',
  },
}
SCSS
$custom: #52298f;
$custom-light: #8866b1;
$custom-dark: #000000;
JSON
{
  "hex": "#52298f",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 264.118,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.15858,
    "h": 296.9
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#52298F
secondary
#93B75C
accent
#DF49A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #52298F

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

Preview Lab → · Contrast checker → · Palette generator →

#52298F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva