#652E71#652E71

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

Color values

HEX#652E71
RGBrgb(101, 46, 113)
HSLhsl(289, 42%, 31%)
HSVhsv(289, 59%, 44%)
CMYKcmyk(10.6%, 59.3%, 0%, 55.7%)
CIE-LABlab(29.19, 35.80, -28.21)
CIE-LCHlch(29.19, 45.58, 321.76°)
OKLaboklab(40.47% 0.094 -0.0784)
OKLCHoklch(40.47% 0.122 320.2)
XYZxyz(9.3241, 5.9134, 16.2698)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E71 #3A712E
analogous
#432E71 #652E71 #712E5B
triadic
#652E71 #71652E #2E7165
tetradic
#652E71 #71432E #3A712E #2E5B71
square
#652E71 #71432E #3A712E #2E5B71
split-complementary
#652E71 #5B712E #2E7143
monochromatic
#170B1A #3E1C46 #652E71 #8C409C #AC5DBD

Accessibility & contrast

On white

9.62
#652E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652E71
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E71#FFFFFF#000000##FFFFFF
##652E711.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#33476F
Tritanopia (blue-blind)
#66384B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652e71;
/* rgb */ color: rgb(101, 46, 113);
/* oklch */ color: oklch(40.5% 0.122 320.2);
Tailwind
colors: {
  custom: {
    50: '#936a9a',
    500: '#652e71',
    950: '#000000',
  },
}
SCSS
$custom: #652e71;
$custom-light: #936a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#652e71",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 289.254,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.12243,
    "h": 320.2
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#652E71
secondary
#66A258
accent
#D2566C
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652E71

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

Preview Lab → · Contrast checker → · Palette generator →

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