#652FA7#652FA7

#652FA7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.181 H 299.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#652FA7
RGBrgb(101, 47, 167)
HSLhsl(267, 56%, 42%)
HSVhsv(267, 72%, 65%)
CMYKcmyk(39.5%, 71.9%, 0%, 34.5%)
CIE-LABlab(33.11, 48.26, -55.28)
CIE-LCHlch(33.11, 73.38, 311.12°)
OKLaboklab(44.48% 0.0891 -0.1578)
OKLCHoklch(44.48% 0.181 299.4)
XYZxyz(13.3566, 7.5896, 37.3130)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FA7 #71A72F
analogous
#2F35A7 #652FA7 #A12FA7
triadic
#652FA7 #A7652F #2FA765
tetradic
#652FA7 #A72F35 #71A72F #2FA7A1
square
#652FA7 #A72F35 #71A72F #2FA7A1
split-complementary
#652FA7 #A7A12F #35A72F
monochromatic
#2B1447 #482277 #652FA7 #8348CB #A378D9

Accessibility & contrast

On white

8.34
#652FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#652FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FA7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FA7#FFFFFF#000000##FFFFFF
##652FA71.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#564D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #652fa7;
/* rgb */ color: rgb(101, 47, 167);
/* oklch */ color: oklch(44.5% 0.181 299.4);
Tailwind
colors: {
  custom: {
    50: '#976cc2',
    500: '#652fa7',
    950: '#000000',
  },
}
SCSS
$custom: #652fa7;
$custom-light: #976cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#652fa7",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 267,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.18119,
    "h": 299.4
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#652FA7
secondary
#9DC171
accent
#DF489B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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