#652C9E#652C9E

#652C9E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.175 H 302.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#652C9E
RGBrgb(101, 44, 158)
HSLhsl(270, 56%, 40%)
HSVhsv(270, 72%, 62%)
CMYKcmyk(36.1%, 72.2%, 0%, 38%)
CIE-LABlab(31.89, 47.42, -51.83)
CIE-LCHlch(31.89, 70.25, 312.46°)
OKLaboklab(43.39% 0.0938 -0.1476)
OKLCHoklch(43.39% 0.175 302.4)
XYZxyz(12.4376, 7.0367, 33.0441)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C9E #659E2C
analogous
#2C2C9E #652C9E #9E2C9E
triadic
#652C9E #9E652C #2C9E65
tetradic
#652C9E #9E2C2C #659E2C #2C9E9E
square
#652C9E #9E2C2C #659E2C #2C9E9E
split-complementary
#652C9E #9E9E2C #2C9E2C
monochromatic
#28113E #461F6E #652C9E #843EC9 #A26ED7

Accessibility & contrast

On white

8.72
#652C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#652C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C9E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C9E#FFFFFF#000000##FFFFFF
##652C9E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#594762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652c9e;
/* rgb */ color: rgb(101, 44, 158);
/* oklch */ color: oklch(43.4% 0.175 302.4);
Tailwind
colors: {
  custom: {
    50: '#966abb',
    500: '#652c9e',
    950: '#000000',
  },
}
SCSS
$custom: #652c9e;
$custom-light: #966abb;
$custom-dark: #000000;
JSON
{
  "hex": "#652c9e",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 270,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.17491,
    "h": 302.4
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#652C9E
secondary
#93BE68
accent
#E04894
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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