#652CA2#652CA2

#652CA2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.179 H 301.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#652CA2
RGBrgb(101, 44, 162)
HSLhsl(269, 57%, 40%)
HSVhsv(269, 73%, 64%)
CMYKcmyk(37.7%, 72.8%, 0%, 36.5%)
CIE-LABlab(32.21, 48.42, -53.74)
CIE-LCHlch(32.21, 72.34, 312.02°)
OKLaboklab(43.72% 0.093 -0.1532)
OKLCHoklch(43.72% 0.179 301.3)
XYZxyz(12.7875, 7.1766, 34.8869)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652CA2 #69A22C
analogous
#2C2EA2 #652CA2 #A02CA2
triadic
#652CA2 #A2652C #2CA265
tetradic
#652CA2 #A22C2E #69A22C #2CA2A0
square
#652CA2 #A22C2E #69A22C #2CA2A0
split-complementary
#652CA2 #A2A02C #2EA22C
monochromatic
#291242 #471F72 #652CA2 #8340CB #A270D8

Accessibility & contrast

On white

8.62
#652CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#652CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652CA2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652CA2#FFFFFF#000000##FFFFFF
##652CA21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652ca2;
/* rgb */ color: rgb(101, 44, 162);
/* oklch */ color: oklch(43.7% 0.179 301.3);
Tailwind
colors: {
  custom: {
    50: '#966abe',
    500: '#652ca2',
    950: '#000000',
  },
}
SCSS
$custom: #652ca2;
$custom-light: #966abe;
$custom-dark: #000000;
JSON
{
  "hex": "#652ca2",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 268.983,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43716,
    "c": 0.17928,
    "h": 301.3
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#652CA2
secondary
#96BF6A
accent
#E14796
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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