#652271#652271

#652271 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 321.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#652271
RGBrgb(101, 34, 113)
HSLhsl(291, 54%, 29%)
HSVhsv(291, 70%, 44%)
CMYKcmyk(10.6%, 69.9%, 0%, 55.7%)
CIE-LABlab(27.03, 41.75, -31.65)
CIE-LCHlch(27.03, 52.39, 322.83°)
OKLaboklab(38.9% 0.11 -0.0884)
OKLCHoklch(38.9% 0.141 321.2)
XYZxyz(8.9192, 5.1035, 16.1348)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652271 #2E7122
analogous
#3E2271 #652271 #712256
triadic
#652271 #716522 #227165
tetradic
#652271 #713E22 #2E7122 #225671
square
#652271 #713E22 #2E7122 #225671
split-complementary
#652271 #567122 #22713E
monochromatic
#150718 #3B1442 #652271 #8F30A0 #B446C7

Accessibility & contrast

On white

10.39
#652271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#652271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652271
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652271#FFFFFF#000000##FFFFFF
##6522711.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B73
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#663046
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #652271;
/* rgb */ color: rgb(101, 34, 113);
/* oklch */ color: oklch(38.9% 0.141 321.2);
Tailwind
colors: {
  custom: {
    50: '#94639a',
    500: '#652271',
    950: '#000000',
  },
}
SCSS
$custom: #652271;
$custom-light: #94639a;
$custom-dark: #000000;
JSON
{
  "hex": "#652271",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 290.886,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38901,
    "c": 0.14109,
    "h": 321.2
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#652271
secondary
#58A44A
accent
#DD4B61
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652271

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

Preview Lab → · Contrast checker → · Palette generator →

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