#652B97#652B97

#652B97 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.169 H 304.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#652B97
RGBrgb(101, 43, 151)
HSLhsl(272, 56%, 38%)
HSVhsv(272, 72%, 59%)
CMYKcmyk(33.1%, 71.5%, 0%, 40.8%)
CIE-LABlab(31.18, 46.17, -48.72)
CIE-LCHlch(31.18, 67.12, 313.46°)
OKLaboklab(42.72% 0.096 -0.1385)
OKLCHoklch(42.72% 0.169 304.7)
XYZxyz(11.8154, 6.7289, 29.9485)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B97 #5D972B
analogous
#2F2B97 #652B97 #972B93
triadic
#652B97 #97652B #2B9765
tetradic
#652B97 #972F2B #5D972B #2B9397
square
#652B97 #972F2B #5D972B #2B9397
split-complementary
#652B97 #93972B #2B972F
monochromatic
#251038 #451D67 #652B97 #8539C7 #A268D4

Accessibility & contrast

On white

8.95
#652B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#652B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B97
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B97#FFFFFF#000000##FFFFFF
##652B971.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#5C445E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652b97;
/* rgb */ color: rgb(101, 43, 151);
/* oklch */ color: oklch(42.7% 0.169 304.7);
Tailwind
colors: {
  custom: {
    50: '#9569b6',
    500: '#652b97',
    950: '#000000',
  },
}
SCSS
$custom: #652b97;
$custom-light: #9569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652b97",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 272.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.16851,
    "h": 304.7
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#652B97
secondary
#8CBB63
accent
#DF498E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652B97

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

Preview Lab → · Contrast checker → · Palette generator →

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