#652D99#652D99

#652D99 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.168 H 303.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#652D99
RGBrgb(101, 45, 153)
HSLhsl(271, 55%, 39%)
HSVhsv(271, 71%, 60%)
CMYKcmyk(34%, 70.6%, 0%, 40%)
CIE-LABlab(31.68, 45.70, -49.14)
CIE-LCHlch(31.68, 67.10, 312.92°)
OKLaboklab(43.12% 0.0935 -0.1397)
OKLCHoklch(43.12% 0.168 303.8)
XYZxyz(12.0537, 6.9434, 30.8360)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D99 #61992D
analogous
#2F2D99 #652D99 #992D97
triadic
#652D99 #99652D #2D9965
tetradic
#652D99 #992F2D #61992D #2D9799
square
#652D99 #992F2D #61992D #2D9799
split-complementary
#652D99 #97992D #2D992F
monochromatic
#27113A #461F6A #652D99 #843DC6 #A26CD4

Accessibility & contrast

On white

8.79
#652D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#652D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D99
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D99#FFFFFF#000000##FFFFFF
##652D991.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#5B465F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652d99;
/* rgb */ color: rgb(101, 45, 153);
/* oklch */ color: oklch(43.1% 0.168 303.8);
Tailwind
colors: {
  custom: {
    50: '#956bb8',
    500: '#652d99',
    950: '#000000',
  },
}
SCSS
$custom: #652d99;
$custom-light: #956bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#652d99",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 271.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.16815,
    "h": 303.8
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#652D99
secondary
#8FBB67
accent
#DE4A91
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652D99

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

Preview Lab → · Contrast checker → · Palette generator →

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