#652A74#652A74

#652A74 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.1% C 0.132 H 319.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#652A74
RGBrgb(101, 42, 116)
HSLhsl(288, 47%, 31%)
HSVhsv(288, 64%, 45%)
CMYKcmyk(12.9%, 63.8%, 0%, 54.5%)
CIE-LABlab(28.60, 38.54, -31.06)
CIE-LCHlch(28.60, 49.50, 321.14°)
OKLaboklab(40.1% 0.0998 -0.0867)
OKLCHoklch(40.1% 0.132 319)
XYZxyz(9.3468, 5.6840, 17.1244)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A74 #39742A
analogous
#402A74 #652A74 #742A5E
triadic
#652A74 #74652A #2A7465
tetradic
#652A74 #74402A #39742A #2A5E74
square
#652A74 #74402A #39742A #2A5E74
split-complementary
#652A74 #5E742A #2A7440
monochromatic
#17091A #3E1A47 #652A74 #8C3AA1 #AC56C2

Accessibility & contrast

On white

9.83
#652A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#652A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A74
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A74#FFFFFF#000000##FFFFFF
##652A741.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F76
Deuteranopia (green-blind)
#2F4572
Tritanopia (blue-blind)
#65364B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652a74;
/* rgb */ color: rgb(101, 42, 116);
/* oklch */ color: oklch(40.1% 0.132 319.0);
Tailwind
colors: {
  custom: {
    50: '#93689c',
    500: '#652a74',
    950: '#000000',
  },
}
SCSS
$custom: #652a74;
$custom-light: #93689c;
$custom-dark: #000000;
JSON
{
  "hex": "#652a74",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 287.838,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.13216,
    "h": 319
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#652A74
secondary
#65A654
accent
#D6516C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652A74

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

Preview Lab → · Contrast checker → · Palette generator →

#652A74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva