#652771#652771

#652771 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.5% C 0.134 H 320.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#652771
RGBrgb(101, 39, 113)
HSLhsl(290, 49%, 30%)
HSVhsv(290, 65%, 44%)
CMYKcmyk(10.6%, 65.5%, 0%, 55.7%)
CIE-LABlab(27.87, 39.40, -30.30)
CIE-LCHlch(27.87, 49.70, 322.43°)
OKLaboklab(39.51% 0.1037 -0.0845)
OKLCHoklch(39.51% 0.134 320.8)
XYZxyz(9.0726, 5.4104, 16.1860)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652771 #337127
analogous
#402771 #652771 #712758
triadic
#652771 #716527 #277165
tetradic
#652771 #714027 #337127 #275871
square
#652771 #714027 #337127 #275871
split-complementary
#652771 #587127 #277140
monochromatic
#140817 #3C1744 #652771 #8E379E #B050C3

Accessibility & contrast

On white

10.09
#652771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#652771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652771
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652771#FFFFFF#000000##FFFFFF
##6527711.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#2E446F
Tritanopia (blue-blind)
#663348
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #652771;
/* rgb */ color: rgb(101, 39, 113);
/* oklch */ color: oklch(39.5% 0.134 320.8);
Tailwind
colors: {
  custom: {
    50: '#93669a',
    500: '#652771',
    950: '#000000',
  },
}
SCSS
$custom: #652771;
$custom-light: #93669a;
$custom-dark: #000000;
JSON
{
  "hex": "#652771",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 290.27,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.13373,
    "h": 320.8
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#652771
secondary
#5EA350
accent
#D85066
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652771

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

Preview Lab → · Contrast checker → · Palette generator →

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