#652B9D#652B9D

#652B9D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.175 H 302.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#652B9D
RGBrgb(101, 43, 157)
HSLhsl(271, 57%, 39%)
HSVhsv(271, 73%, 62%)
CMYKcmyk(35.7%, 72.6%, 0%, 38.4%)
CIE-LABlab(31.64, 47.65, -51.63)
CIE-LCHlch(31.64, 70.25, 312.70°)
OKLaboklab(43.19% 0.095 -0.147)
OKLCHoklch(43.19% 0.175 302.9)
XYZxyz(12.3151, 6.9288, 32.5803)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B9D #639D2B
analogous
#2C2B9D #652B9D #9D2B9C
triadic
#652B9D #9D652B #2B9D65
tetradic
#652B9D #9D2C2B #639D2B #2B9C9D
square
#652B9D #9D2C2B #639D2B #2B9C9D
split-complementary
#652B9D #9C9D2B #2B9D2C
monochromatic
#27113D #461E6D #652B9D #843CCA #A26CD7

Accessibility & contrast

On white

8.80
#652B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652B9D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B9D#FFFFFF#000000##FFFFFF
##652B9D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#5A4661
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652b9d;
/* rgb */ color: rgb(101, 43, 157);
/* oklch */ color: oklch(43.2% 0.175 302.9);
Tailwind
colors: {
  custom: {
    50: '#966abb',
    500: '#652b9d',
    950: '#000000',
  },
}
SCSS
$custom: #652b9d;
$custom-light: #966abb;
$custom-dark: #000000;
JSON
{
  "hex": "#652b9d",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 270.526,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.17504,
    "h": 302.9
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#652B9D
secondary
#91BD66
accent
#E04893
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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