#652276#652276

#652276 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.146 H 318.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#652276
RGBrgb(101, 34, 118)
HSLhsl(288, 55%, 30%)
HSVhsv(288, 71%, 46%)
CMYKcmyk(14.4%, 71.2%, 0%, 53.7%)
CIE-LABlab(27.35, 42.79, -34.33)
CIE-LCHlch(27.35, 54.85, 321.26°)
OKLaboklab(39.24% 0.1098 -0.0962)
OKLCHoklch(39.24% 0.146 318.8)
XYZxyz(9.2084, 5.2192, 17.6584)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652276 #337622
analogous
#3B2276 #652276 #76225D
triadic
#652276 #766522 #227665
tetradic
#652276 #763B22 #337622 #225D76
square
#652276 #763B22 #337622 #225D76
split-complementary
#652276 #5D7622 #22763B
monochromatic
#140718 #3C1446 #652276 #8E30A6 #B048CA

Accessibility & contrast

On white

10.27
#652276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#652276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652276
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652276#FFFFFF#000000##FFFFFF
##6522761.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#653249
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #652276;
/* rgb */ color: rgb(101, 34, 118);
/* oklch */ color: oklch(39.2% 0.146 318.8);
Tailwind
colors: {
  custom: {
    50: '#94639e',
    500: '#652276',
    950: '#000000',
  },
}
SCSS
$custom: #652276;
$custom-light: #94639e;
$custom-dark: #000000;
JSON
{
  "hex": "#652276",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 287.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39237,
    "c": 0.14598,
    "h": 318.8
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#652276
secondary
#5EA94B
accent
#DF4967
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652276

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

Preview Lab → · Contrast checker → · Palette generator →

#652276 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva