#652F99#652F99

#652F99 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.166 H 303.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#652F99
RGBrgb(101, 47, 153)
HSLhsl(271, 53%, 39%)
HSVhsv(271, 69%, 60%)
CMYKcmyk(34%, 69.3%, 0%, 40%)
CIE-LABlab(32.03, 44.71, -48.56)
CIE-LCHlch(32.03, 66.01, 312.64°)
OKLaboklab(43.38% 0.0914 -0.138)
OKLCHoklch(43.38% 0.166 303.5)
XYZxyz(12.1318, 7.0997, 30.8621)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F99 #63992F
analogous
#302F99 #652F99 #992F98
triadic
#652F99 #99652F #2F9965
tetradic
#652F99 #99302F #63992F #2F9899
square
#652F99 #99302F #63992F #2F9899
split-complementary
#652F99 #98992F #2F9930
monochromatic
#27123B #46216A #652F99 #8441C5 #A26FD3

Accessibility & contrast

On white

8.68
#652F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#652F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F99
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F99#FFFFFF#000000##FFFFFF
##652F991.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#5B4760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652f99;
/* rgb */ color: rgb(101, 47, 153);
/* oklch */ color: oklch(43.4% 0.166 303.5);
Tailwind
colors: {
  custom: {
    50: '#956cb8',
    500: '#652f99',
    950: '#000000',
  },
}
SCSS
$custom: #652f99;
$custom-light: #956cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#652f99",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 270.566,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.16552,
    "h": 303.5
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#652F99
secondary
#91BA69
accent
#DC4B93
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F99

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

Preview Lab → · Contrast checker → · Palette generator →

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