#652CB1#652CB1

#652CB1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.196 H 297.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#652CB1
RGBrgb(101, 44, 177)
HSLhsl(266, 60%, 43%)
HSVhsv(266, 75%, 69%)
CMYKcmyk(42.9%, 75.1%, 0%, 30.6%)
CIE-LABlab(33.44, 52.21, -60.73)
CIE-LCHlch(33.44, 80.09, 310.69°)
OKLaboklab(44.97% 0.0897 -0.1738)
OKLCHoklch(44.97% 0.196 297.3)
XYZxyz(14.2012, 7.7421, 42.3326)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652CB1 #78B12C
analogous
#2C36B1 #652CB1 #A72CB1
triadic
#652CB1 #B1652C #2CB165
tetradic
#652CB1 #B12C36 #78B12C #2CB1A7
square
#652CB1 #B12C36 #78B12C #2CB1A7
split-complementary
#652CB1 #B1A72C #36B12C
monochromatic
#2D144F #492080 #652CB1 #8349D2 #A57ADE

Accessibility & contrast

On white

8.24
#652CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#652CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652CB1
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652CB1#FFFFFF#000000##FFFFFF
##652CB11.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#514F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652cb1;
/* rgb */ color: rgb(101, 44, 177);
/* oklch */ color: oklch(45.0% 0.196 297.3);
Tailwind
colors: {
  custom: {
    50: '#986bc9',
    500: '#652cb1',
    950: '#000000',
  },
}
SCSS
$custom: #652cb1;
$custom-light: #986bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#652cb1",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 265.714,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44971,
    "c": 0.19557,
    "h": 297.3
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#652CB1
secondary
#A2C673
accent
#E3449F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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