#652F7E#652F7E

#652F7E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.135 H 313.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#652F7E
RGBrgb(101, 47, 126)
HSLhsl(281, 46%, 34%)
HSVhsv(281, 63%, 49%)
CMYKcmyk(19.8%, 62.7%, 0%, 50.6%)
CIE-LABlab(30.17, 38.19, -34.87)
CIE-LCHlch(30.17, 51.71, 317.60°)
OKLaboklab(41.44% 0.0932 -0.0979)
OKLCHoklch(41.44% 0.135 313.6)
XYZxyz(10.1486, 6.3064, 20.4173)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F7E #487E2F
analogous
#3E2F7E #652F7E #7E2F70
triadic
#652F7E #7E652F #2F7E65
tetradic
#652F7E #7E3E2F #487E2F #2F707E
square
#652F7E #7E3E2F #487E2F #2F707E
split-complementary
#652F7E #707E2F #2F7E3E
monochromatic
#1E0E25 #411E51 #652F7E #8940AB #A663C5

Accessibility & contrast

On white

9.29
#652F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#652F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F7E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F7E#FFFFFF#000000##FFFFFF
##652F7E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#633D52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652f7e;
/* rgb */ color: rgb(101, 47, 126);
/* oklch */ color: oklch(41.4% 0.135 313.6);
Tailwind
colors: {
  custom: {
    50: '#936ba4',
    500: '#652f7e',
    950: '#000000',
  },
}
SCSS
$custom: #652f7e;
$custom-light: #936ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#652f7e",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 281.013,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4144,
    "c": 0.13511,
    "h": 313.6
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#652F7E
secondary
#76AC5D
accent
#D5527C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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