#652B99#652B99

#652B99 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.171 H 304.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#652B99
RGBrgb(101, 43, 153)
HSLhsl(272, 56%, 38%)
HSVhsv(272, 72%, 60%)
CMYKcmyk(34%, 71.9%, 0%, 40%)
CIE-LABlab(31.33, 46.66, -49.69)
CIE-LCHlch(31.33, 68.17, 313.20°)
OKLaboklab(42.88% 0.0957 -0.1413)
OKLCHoklch(42.88% 0.171 304.1)
XYZxyz(11.9792, 6.7944, 30.8112)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B99 #5F992B
analogous
#2E2B99 #652B99 #992B96
triadic
#652B99 #99652B #2B9965
tetradic
#652B99 #992E2B #5F992B #2B9699
square
#652B99 #992E2B #5F992B #2B9699
split-complementary
#652B99 #96992B #2B992E
monochromatic
#261039 #451E69 #652B99 #843AC8 #A269D5

Accessibility & contrast

On white

8.90
#652B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#652B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B99
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B99#FFFFFF#000000##FFFFFF
##652B991.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#5B455F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652b99;
/* rgb */ color: rgb(101, 43, 153);
/* oklch */ color: oklch(42.9% 0.171 304.1);
Tailwind
colors: {
  custom: {
    50: '#9669b8',
    500: '#652b99',
    950: '#000000',
  },
}
SCSS
$custom: #652b99;
$custom-light: #9669b8;
$custom-dark: #000000;
JSON
{
  "hex": "#652b99",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 271.636,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42876,
    "c": 0.17069,
    "h": 304.1
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#652B99
secondary
#8EBC64
accent
#DF4890
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652B99

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

Preview Lab → · Contrast checker → · Palette generator →

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