#652CA1#652CA1

#652CA1 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.178 H 301.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#652CA1
RGBrgb(101, 44, 161)
HSLhsl(269, 57%, 40%)
HSVhsv(269, 73%, 63%)
CMYKcmyk(37.3%, 72.7%, 0%, 36.9%)
CIE-LABlab(32.13, 48.17, -53.27)
CIE-LCHlch(32.13, 71.82, 312.12°)
OKLaboklab(43.64% 0.0932 -0.1519)
OKLCHoklch(43.64% 0.178 301.5)
XYZxyz(12.6990, 7.1412, 34.4207)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652CA1 #68A12C
analogous
#2C2DA1 #652CA1 #9F2CA1
triadic
#652CA1 #A1652C #2CA165
tetradic
#652CA1 #A12C2D #68A12C #2CA19F
square
#652CA1 #A12C2D #68A12C #2CA19F
split-complementary
#652CA1 #A19F2C #2DA12C
monochromatic
#291241 #471F71 #652CA1 #8340CB #A270D8

Accessibility & contrast

On white

8.65
#652CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#652CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652CA1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652CA1#FFFFFF#000000##FFFFFF
##652CA11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#584964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652ca1;
/* rgb */ color: rgb(101, 44, 161);
/* oklch */ color: oklch(43.6% 0.178 301.5);
Tailwind
colors: {
  custom: {
    50: '#966abe',
    500: '#652ca1',
    950: '#000000',
  },
}
SCSS
$custom: #652ca1;
$custom-light: #966abe;
$custom-dark: #000000;
JSON
{
  "hex": "#652ca1",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 269.231,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.17818,
    "h": 301.5
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#652CA1
secondary
#95BF6A
accent
#E04796
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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