#652D74#652D74

#652D74 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.5% C 0.127 H 318.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#652D74
RGBrgb(101, 45, 116)
HSLhsl(287, 44%, 32%)
HSVhsv(287, 61%, 45%)
CMYKcmyk(12.9%, 61.2%, 0%, 54.5%)
CIE-LABlab(29.17, 36.99, -30.15)
CIE-LCHlch(29.17, 47.72, 320.81°)
OKLaboklab(40.51% 0.0956 -0.0841)
OKLCHoklch(40.51% 0.127 318.7)
XYZxyz(9.4572, 5.9048, 17.1612)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D74 #3C742D
analogous
#422D74 #652D74 #742D60
triadic
#652D74 #74652D #2D7465
tetradic
#652D74 #74422D #3C742D #2D6074
square
#652D74 #74422D #3C742D #2D6074
split-complementary
#652D74 #60742D #2D7442
monochromatic
#180B1C #3F1C48 #652D74 #8B3EA0 #AB5CC0

Accessibility & contrast

On white

9.63
#652D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#652D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D74
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D74#FFFFFF#000000##FFFFFF
##652D741.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#314772
Tritanopia (blue-blind)
#65384C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652d74;
/* rgb */ color: rgb(101, 45, 116);
/* oklch */ color: oklch(40.5% 0.127 318.7);
Tailwind
colors: {
  custom: {
    50: '#93699c',
    500: '#652d74',
    950: '#000000',
  },
}
SCSS
$custom: #652d74;
$custom-light: #93699c;
$custom-dark: #000000;
JSON
{
  "hex": "#652d74",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 287.324,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.12733,
    "h": 318.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#652D74
secondary
#68A557
accent
#D4546F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652D74

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

Preview Lab → · Contrast checker → · Palette generator →

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