#652B7F#652B7F

#652B7F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.142 H 313.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#652B7F
RGBrgb(101, 43, 127)
HSLhsl(281, 49%, 33%)
HSVhsv(281, 66%, 50%)
CMYKcmyk(20.5%, 66.1%, 0%, 50.2%)
CIE-LABlab(29.48, 40.48, -36.60)
CIE-LCHlch(29.48, 54.57, 317.88°)
OKLaboklab(40.96% 0.0984 -0.1029)
OKLCHoklch(40.96% 0.142 313.7)
XYZxyz(10.0608, 6.0271, 20.7079)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B7F #457F2B
analogous
#3B2B7F #652B7F #7F2B6F
triadic
#652B7F #7F652B #2B7F65
tetradic
#652B7F #7F3B2B #457F2B #2B6F7F
square
#652B7F #7F3B2B #457F2B #2B6F7F
split-complementary
#652B7F #6F7F2B #2B7F3B
monochromatic
#1C0C24 #411C51 #652B7F #893AAD #A75CC8

Accessibility & contrast

On white

9.52
#652B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#652B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B7F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B7F#FFFFFF#000000##FFFFFF
##652B7F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064282
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#633B51
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652b7f;
/* rgb */ color: rgb(101, 43, 127);
/* oklch */ color: oklch(41.0% 0.142 313.7);
Tailwind
colors: {
  custom: {
    50: '#9468a5',
    500: '#652b7f',
    950: '#000000',
  },
}
SCSS
$custom: #652b7f;
$custom-light: #9468a5;
$custom-dark: #000000;
JSON
{
  "hex": "#652b7f",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 281.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40959,
    "c": 0.14238,
    "h": 313.7
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#652B7F
secondary
#73AE58
accent
#D94F7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #652B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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