#652C9C#652C9C

#652C9C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.173 H 303.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#652C9C
RGBrgb(101, 44, 156)
HSLhsl(271, 56%, 39%)
HSVhsv(271, 72%, 61%)
CMYKcmyk(35.3%, 71.8%, 0%, 38.8%)
CIE-LABlab(31.73, 46.93, -50.87)
CIE-LCHlch(31.73, 69.21, 312.69°)
OKLaboklab(43.23% 0.0941 -0.1448)
OKLCHoklch(43.23% 0.173 303)
XYZxyz(12.2669, 6.9684, 32.1448)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C9C #639C2C
analogous
#2D2C9C #652C9C #9C2C9B
triadic
#652C9C #9C652C #2C9C65
tetradic
#652C9C #9C2D2C #639C2C #2C9B9C
square
#652C9C #9C2D2C #639C2C #2C9B9C
split-complementary
#652C9C #9B9C2C #2C9C2D
monochromatic
#27113D #461F6C #652C9C #843DC8 #A26DD6

Accessibility & contrast

On white

8.77
#652C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652C9C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C9C#FFFFFF#000000##FFFFFF
##652C9C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5A4761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652c9c;
/* rgb */ color: rgb(101, 44, 156);
/* oklch */ color: oklch(43.2% 0.173 303.0);
Tailwind
colors: {
  custom: {
    50: '#966aba',
    500: '#652c9c',
    950: '#000000',
  },
}
SCSS
$custom: #652c9c;
$custom-light: #966aba;
$custom-dark: #000000;
JSON
{
  "hex": "#652c9c",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 270.536,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43234,
    "c": 0.17271,
    "h": 303
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#652C9C
secondary
#91BD67
accent
#DF4993
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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