#652D7F#652D7F

#652D7F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.2% C 0.139 H 313.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#652D7F
RGBrgb(101, 45, 127)
HSLhsl(281, 48%, 34%)
HSVhsv(281, 65%, 50%)
CMYKcmyk(20.5%, 64.6%, 0%, 50.2%)
CIE-LABlab(29.85, 39.46, -36.01)
CIE-LCHlch(29.85, 53.42, 317.62°)
OKLaboklab(41.23% 0.0958 -0.1012)
OKLCHoklch(41.23% 0.139 313.4)
XYZxyz(10.1353, 6.1761, 20.7328)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D7F #477F2D
analogous
#3C2D7F #652D7F #7F2D70
triadic
#652D7F #7F652D #2D7F65
tetradic
#652D7F #7F3C2D #477F2D #2D707F
square
#652D7F #7F3C2D #477F2D #2D707F
split-complementary
#652D7F #707F2D #2D7F3C
monochromatic
#1D0D25 #411D52 #652D7F #893DAC #A660C7

Accessibility & contrast

On white

9.40
#652D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#652D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D7F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D7F#FFFFFF#000000##FFFFFF
##652D7F1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4382
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#623C51
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652d7f;
/* rgb */ color: rgb(101, 45, 127);
/* oklch */ color: oklch(41.2% 0.139 313.4);
Tailwind
colors: {
  custom: {
    50: '#946aa4',
    500: '#652d7f',
    950: '#000000',
  },
}
SCSS
$custom: #652d7f;
$custom-light: #946aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#652d7f",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 280.976,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.13934,
    "h": 313.4
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#652D7F
secondary
#75AD5B
accent
#D7517B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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