#652C9B#652C9B

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

Color values

HEX#652C9B
RGBrgb(101, 44, 155)
HSLhsl(271, 56%, 39%)
HSVhsv(271, 72%, 61%)
CMYKcmyk(34.8%, 71.6%, 0%, 39.2%)
CIE-LABlab(31.66, 46.68, -50.39)
CIE-LCHlch(31.66, 68.69, 312.81°)
OKLaboklab(43.16% 0.0943 -0.1434)
OKLCHoklch(43.16% 0.172 303.3)
XYZxyz(12.1825, 6.9346, 31.7007)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C9B #629B2C
analogous
#2E2C9B #652C9B #9B2C9A
triadic
#652C9B #9B652C #2C9B65
tetradic
#652C9B #9B2E2C #629B2C #2C9A9B
square
#652C9B #9B2E2C #629B2C #2C9A9B
split-complementary
#652C9B #9A9B2C #2C9B2E
monochromatic
#27113C #461E6B #652C9B #843CC8 #A26CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##652C9B#FFFFFF#000000##FFFFFF
##652C9B1.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)
#00499E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#5A4660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652c9b;
/* rgb */ color: rgb(101, 44, 155);
/* oklch */ color: oklch(43.2% 0.172 303.3);
Tailwind
colors: {
  custom: {
    50: '#966ab9',
    500: '#652c9b',
    950: '#000000',
  },
}
SCSS
$custom: #652c9b;
$custom-light: #966ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#652c9b",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 270.811,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43155,
    "c": 0.17162,
    "h": 303.3
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#652C9B
secondary
#90BC67
accent
#DF4992
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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