#652CB4#652CB4

#652CB4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.199 H 296.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#652CB4
RGBrgb(101, 44, 180)
HSLhsl(265, 61%, 44%)
HSVhsv(265, 76%, 71%)
CMYKcmyk(43.9%, 75.6%, 0%, 29.4%)
CIE-LABlab(33.70, 52.98, -62.10)
CIE-LCHlch(33.70, 81.63, 310.47°)
OKLaboklab(45.23% 0.089 -0.1778)
OKLCHoklch(45.23% 0.199 296.6)
XYZxyz(14.5036, 7.8630, 43.9247)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652CB4 #7BB42C
analogous
#2C37B4 #652CB4 #A92CB4
triadic
#652CB4 #B4652C #2CB465
tetradic
#652CB4 #B42C37 #7BB42C #2CB4A9
square
#652CB4 #B42C37 #7BB42C #2CB4A9
split-complementary
#652CB4 #B4A92C #37B42C
monochromatic
#2E1452 #492083 #652CB4 #844AD3 #A57CDF

Accessibility & contrast

On white

8.16
#652CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#652CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652CB4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652CB4#FFFFFF#000000##FFFFFF
##652CB41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#50506E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652cb4;
/* rgb */ color: rgb(101, 44, 180);
/* oklch */ color: oklch(45.2% 0.199 296.6);
Tailwind
colors: {
  custom: {
    50: '#986bcb',
    500: '#652cb4',
    950: '#000000',
  },
}
SCSS
$custom: #652cb4;
$custom-light: #986bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#652cb4",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 265.147,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.1988,
    "h": 296.6
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#652CB4
secondary
#A5C775
accent
#E444A1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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