#652A7F#652A7F

#652A7F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.144 H 313.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#652A7F
RGBrgb(101, 42, 127)
HSLhsl(282, 50%, 33%)
HSVhsv(282, 67%, 50%)
CMYKcmyk(20.5%, 66.9%, 0%, 50.2%)
CIE-LABlab(29.30, 40.98, -36.89)
CIE-LCHlch(29.30, 55.14, 318.01°)
OKLaboklab(40.83% 0.0997 -0.1037)
OKLCHoklch(40.83% 0.144 313.9)
XYZxyz(10.0249, 5.9552, 20.6960)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A7F #447F2A
analogous
#3A2A7F #652A7F #7F2A6E
triadic
#652A7F #7F652A #2A7F65
tetradic
#652A7F #7F3A2A #447F2A #2A6E7F
square
#652A7F #7F3A2A #447F2A #2A6E7F
split-complementary
#652A7F #6E7F2A #2A7F3A
monochromatic
#1C0C23 #401B51 #652A7F #8A39AD #A75BC9

Accessibility & contrast

On white

9.58
#652A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#652A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A7F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A7F#FFFFFF#000000##FFFFFF
##652A7F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024282
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#633A50
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652a7f;
/* rgb */ color: rgb(101, 42, 127);
/* oklch */ color: oklch(40.8% 0.144 313.9);
Tailwind
colors: {
  custom: {
    50: '#9468a5',
    500: '#652a7f',
    950: '#000000',
  },
}
SCSS
$custom: #652a7f;
$custom-light: #9468a5;
$custom-dark: #000000;
JSON
{
  "hex": "#652a7f",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 281.647,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.14385,
    "h": 313.9
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#652A7F
secondary
#71AE57
accent
#DA4E79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #652A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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