#52296D#52296D

#52296D is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.9% C 0.117 H 309.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#52296D
RGBrgb(82, 41, 109)
HSLhsl(276, 45%, 29%)
HSVhsv(276, 62%, 43%)
CMYKcmyk(24.8%, 62.4%, 0%, 57.3%)
CIE-LABlab(25.21, 32.27, -32.15)
CIE-LCHlch(25.21, 45.55, 315.11°)
OKLaboklab(36.91% 0.075 -0.0905)
OKLCHoklch(36.91% 0.118 309.6)
XYZxyz(7.0324, 4.4840, 14.9601)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52296D #446D29
analogous
#30296D #52296D #6D2966
triadic
#52296D #6D5229 #296D52
tetradic
#52296D #6D3029 #446D29 #29666D
square
#52296D #6D3029 #446D29 #29666D
split-complementary
#52296D #666D29 #296D30
monochromatic
#110816 #311841 #52296D #733A99 #9352BE

Accessibility & contrast

On white

11.07
#52296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#52296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52296D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52296D#FFFFFF#000000##FFFFFF
##52296D1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A6F
Deuteranopia (green-blind)
#213C6B
Tritanopia (blue-blind)
#4E3647
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #52296d;
/* rgb */ color: rgb(82, 41, 109);
/* oklch */ color: oklch(36.9% 0.117 309.6);
Tailwind
colors: {
  custom: {
    50: '#856597',
    500: '#52296d',
    950: '#000000',
  },
}
SCSS
$custom: #52296d;
$custom-light: #856597;
$custom-dark: #000000;
JSON
{
  "hex": "#52296d",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 276.176,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.1175,
    "h": 309.6
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#52296D
secondary
#719F53
accent
#D55386
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #52296D

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

Preview Lab → · Contrast checker → · Palette generator →

#52296D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva