#652772#652772

#652772 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.135 H 320.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#652772
RGBrgb(101, 39, 114)
HSLhsl(290, 49%, 30%)
HSVhsv(290, 66%, 45%)
CMYKcmyk(11.4%, 65.8%, 0%, 55.3%)
CIE-LABlab(27.93, 39.61, -30.84)
CIE-LCHlch(27.93, 50.20, 322.09°)
OKLaboklab(39.58% 0.1037 -0.086)
OKLCHoklch(39.58% 0.135 320.3)
XYZxyz(9.1292, 5.4331, 16.4841)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652772 #347227
analogous
#3F2772 #652772 #72275A
triadic
#652772 #726527 #277265
tetradic
#652772 #723F27 #347227 #275A72
square
#652772 #723F27 #347227 #275A72
split-complementary
#652772 #5A7227 #27723F
monochromatic
#140817 #3D1744 #652772 #8D37A0 #AF50C3

Accessibility & contrast

On white

10.06
#652772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#652772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652772
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652772#FFFFFF#000000##FFFFFF
##6527721.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E74
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#663349
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #652772;
/* rgb */ color: rgb(101, 39, 114);
/* oklch */ color: oklch(39.6% 0.135 320.3);
Tailwind
colors: {
  custom: {
    50: '#93669b',
    500: '#652772',
    950: '#000000',
  },
}
SCSS
$custom: #652772;
$custom-light: #93669b;
$custom-dark: #000000;
JSON
{
  "hex": "#652772",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 289.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.39576,
    "c": 0.13475,
    "h": 320.3
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#652772
secondary
#5FA450
accent
#D94F67
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652772

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

Preview Lab → · Contrast checker → · Palette generator →

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