#652F74#652F74

#652F74 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 40.8% C 0.124 H 318.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#652F74
RGBrgb(101, 47, 116)
HSLhsl(287, 42%, 32%)
HSVhsv(287, 59%, 45%)
CMYKcmyk(12.9%, 59.5%, 0%, 54.5%)
CIE-LABlab(29.57, 35.92, -29.53)
CIE-LCHlch(29.57, 46.50, 320.58°)
OKLaboklab(40.8% 0.0928 -0.0823)
OKLCHoklch(40.8% 0.124 318.4)
XYZxyz(9.5353, 6.0611, 17.1872)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F74 #3E742F
analogous
#432F74 #652F74 #742F60
triadic
#652F74 #74652F #2F7465
tetradic
#652F74 #74432F #3E742F #2F6074
square
#652F74 #74432F #3E742F #2F6074
split-complementary
#652F74 #60742F #2F7443
monochromatic
#190C1D #3F1D48 #652F74 #8B41A0 #AA5FBE

Accessibility & contrast

On white

9.49
#652F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652F74
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F74#FFFFFF#000000##FFFFFF
##652F741.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#324772
Tritanopia (blue-blind)
#653A4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652f74;
/* rgb */ color: rgb(101, 47, 116);
/* oklch */ color: oklch(40.8% 0.124 318.4);
Tailwind
colors: {
  custom: {
    50: '#936a9c',
    500: '#652f74',
    950: '#000000',
  },
}
SCSS
$custom: #652f74;
$custom-light: #936a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#652f74",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 286.957,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.12401,
    "h": 318.4
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#652F74
secondary
#6AA55A
accent
#D25671
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #652F74

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

Preview Lab → · Contrast checker → · Palette generator →

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