#652B9A#652B9A

#652B9A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.172 H 303.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#652B9A
RGBrgb(101, 43, 154)
HSLhsl(271, 56%, 39%)
HSVhsv(271, 72%, 60%)
CMYKcmyk(34.4%, 72.1%, 0%, 39.6%)
CIE-LABlab(31.41, 46.91, -50.18)
CIE-LCHlch(31.41, 68.69, 313.07°)
OKLaboklab(42.96% 0.0955 -0.1428)
OKLCHoklch(42.96% 0.172 303.8)
XYZxyz(12.0621, 6.8276, 31.2480)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B9A #609A2B
analogous
#2D2B9A #652B9A #9A2B97
triadic
#652B9A #9A652B #2B9A65
tetradic
#652B9A #9A2D2B #609A2B #2B979A
square
#652B9A #9A2D2B #609A2B #2B979A
split-complementary
#652B9A #979A2B #2B9A2D
monochromatic
#26103A #461E6A #652B9A #843AC8 #A26AD5

Accessibility & contrast

On white

8.88
#652B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#652B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B9A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B9A#FFFFFF#000000##FFFFFF
##652B9A1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#5B455F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652b9a;
/* rgb */ color: rgb(101, 43, 154);
/* oklch */ color: oklch(43.0% 0.172 303.8);
Tailwind
colors: {
  custom: {
    50: '#9669b9',
    500: '#652b9a',
    950: '#000000',
  },
}
SCSS
$custom: #652b9a;
$custom-light: #9669b9;
$custom-dark: #000000;
JSON
{
  "hex": "#652b9a",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 271.351,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.17178,
    "h": 303.8
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#652B9A
secondary
#8EBC65
accent
#E04890
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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