#652C9F#652C9F

#652C9F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.176 H 302.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#652C9F
RGBrgb(101, 44, 159)
HSLhsl(270, 57%, 40%)
HSVhsv(270, 72%, 62%)
CMYKcmyk(36.5%, 72.3%, 0%, 37.6%)
CIE-LABlab(31.97, 47.67, -52.31)
CIE-LCHlch(31.97, 70.78, 312.34°)
OKLaboklab(43.47% 0.0936 -0.149)
OKLCHoklch(43.47% 0.176 302.1)
XYZxyz(12.5240, 7.0712, 33.4992)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C9F #669F2C
analogous
#2C2D9F #652C9F #9E2C9F
triadic
#652C9F #9F652C #2C9F65
tetradic
#652C9F #9F2C2D #669F2C #2C9F9E
square
#652C9F #9F2C2D #669F2C #2C9F9E
split-complementary
#652C9F #9F9E2C #2D9F2C
monochromatic
#28113F #471F6F #652C9F #833ECA #A26ED7

Accessibility & contrast

On white

8.70
#652C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652C9F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C9F#FFFFFF#000000##FFFFFF
##652C9F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#594862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652c9f;
/* rgb */ color: rgb(101, 44, 159);
/* oklch */ color: oklch(43.5% 0.176 302.1);
Tailwind
colors: {
  custom: {
    50: '#966abc',
    500: '#652c9f',
    950: '#000000',
  },
}
SCSS
$custom: #652c9f;
$custom-light: #966abc;
$custom-dark: #000000;
JSON
{
  "hex": "#652c9f",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 269.739,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.176,
    "h": 302.1
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#652C9F
secondary
#94BE69
accent
#E04895
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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