#652172#652172

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

Color values

HEX#652172
RGBrgb(101, 33, 114)
HSLhsl(290, 55%, 29%)
HSVhsv(290, 71%, 45%)
CMYKcmyk(11.4%, 71.1%, 0%, 55.3%)
CIE-LABlab(26.93, 42.40, -32.44)
CIE-LCHlch(26.93, 53.39, 322.58°)
OKLaboklab(38.85% 0.1112 -0.0907)
OKLCHoklch(38.85% 0.143 320.8)
XYZxyz(8.9476, 5.0698, 16.4236)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652172 #2E7221
analogous
#3D2172 #652172 #722157
triadic
#652172 #726521 #217265
tetradic
#652172 #723D21 #2E7221 #215772
square
#652172 #723D21 #2E7221 #215772
split-complementary
#652172 #577221 #21723D
monochromatic
#150718 #3B1343 #652172 #8F2FA1 #B444C9

Accessibility & contrast

On white

10.43
#652172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#652172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652172
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652172#FFFFFF#000000##FFFFFF
##6521721.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B74
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#662F47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #652172;
/* rgb */ color: rgb(101, 33, 114);
/* oklch */ color: oklch(38.9% 0.143 320.8);
Tailwind
colors: {
  custom: {
    50: '#94639b',
    500: '#652172',
    950: '#000000',
  },
}
SCSS
$custom: #652172;
$custom-light: #94639b;
$custom-dark: #000000;
JSON
{
  "hex": "#652172",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 290.37,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38853,
    "c": 0.14344,
    "h": 320.8
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#652172
secondary
#58A549
accent
#DE4961
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #652172

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

Preview Lab → · Contrast checker → · Palette generator →

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