#652F7F#652F7F

#652F7F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.136 H 313.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#652F7F
RGBrgb(101, 47, 127)
HSLhsl(281, 46%, 34%)
HSVhsv(281, 63%, 50%)
CMYKcmyk(20.5%, 63%, 0%, 50.2%)
CIE-LABlab(30.24, 38.42, -35.39)
CIE-LCHlch(30.24, 52.24, 317.35°)
OKLaboklab(41.51% 0.0932 -0.0994)
OKLCHoklch(41.51% 0.136 313.2)
XYZxyz(10.2134, 6.3323, 20.7588)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F7F #497F2F
analogous
#3D2F7F #652F7F #7F2F71
triadic
#652F7F #7F652F #2F7F65
tetradic
#652F7F #7F3D2F #497F2F #2F717F
square
#652F7F #7F3D2F #497F2F #2F717F
split-complementary
#652F7F #717F2F #2F7F3D
monochromatic
#1E0E26 #411E52 #652F7F #8940AC #A563C5

Accessibility & contrast

On white

9.27
#652F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#652F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F7F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F7F#FFFFFF#000000##FFFFFF
##652F7F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124482
Deuteranopia (green-blind)
#2B487D
Tritanopia (blue-blind)
#623E52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652f7f;
/* rgb */ color: rgb(101, 47, 127);
/* oklch */ color: oklch(41.5% 0.136 313.2);
Tailwind
colors: {
  custom: {
    50: '#936ba4',
    500: '#652f7f',
    950: '#000000',
  },
}
SCSS
$custom: #652f7f;
$custom-light: #936ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#652f7f",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 280.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.13622,
    "h": 313.2
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#652F7F
secondary
#77AC5E
accent
#D6527D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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