#652CA7#652CA7

#652CA7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.185 H 299.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#652CA7
RGBrgb(101, 44, 167)
HSLhsl(268, 58%, 41%)
HSVhsv(268, 74%, 65%)
CMYKcmyk(39.5%, 73.7%, 0%, 34.5%)
CIE-LABlab(32.61, 49.68, -56.10)
CIE-LCHlch(32.61, 74.94, 311.52°)
OKLaboklab(44.13% 0.092 -0.1602)
OKLCHoklch(44.13% 0.185 299.9)
XYZxyz(13.2408, 7.3579, 37.2744)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652CA7 #6EA72C
analogous
#2C31A7 #652CA7 #A32CA7
triadic
#652CA7 #A7652C #2CA765
tetradic
#652CA7 #A72C31 #6EA72C #2CA7A3
square
#652CA7 #A72C31 #6EA72C #2CA7A3
split-complementary
#652CA7 #A7A32C #31A72C
monochromatic
#2A1246 #481F77 #652CA7 #8343CD #A373DA

Accessibility & contrast

On white

8.50
#652CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#652CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652CA7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652CA7#FFFFFF#000000##FFFFFF
##652CA71.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#564B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #652ca7;
/* rgb */ color: rgb(101, 44, 167);
/* oklch */ color: oklch(44.1% 0.185 299.9);
Tailwind
colors: {
  custom: {
    50: '#976bc2',
    500: '#652ca7',
    950: '#000000',
  },
}
SCSS
$custom: #652ca7;
$custom-light: #976bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#652ca7",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 267.805,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44126,
    "c": 0.18473,
    "h": 299.9
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#652CA7
secondary
#9AC26D
accent
#E2469A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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