#652EAB#652EAB

#652EAB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.187 H 298.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#652EAB
RGBrgb(101, 46, 171)
HSLhsl(266, 58%, 43%)
HSVhsv(266, 73%, 67%)
CMYKcmyk(40.9%, 73.1%, 0%, 32.9%)
CIE-LABlab(33.27, 49.76, -57.43)
CIE-LCHlch(33.27, 75.99, 310.91°)
OKLaboklab(44.69% 0.0892 -0.1641)
OKLCHoklch(44.69% 0.187 298.5)
XYZxyz(13.6926, 7.6608, 39.2775)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EAB #74AB2E
analogous
#2E35AB #652EAB #A42EAB
triadic
#652EAB #AB652E #2EAB65
tetradic
#652EAB #AB2E35 #74AB2E #2EABA4
square
#652EAB #AB2E35 #74AB2E #2EABA4
split-complementary
#652EAB #ABA42E #35AB2E
monochromatic
#2C144B #49217B #652EAB #8348CE #A479DB

Accessibility & contrast

On white

8.29
#652EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#652EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EAB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EAB#FFFFFF#000000##FFFFFF
##652EAB1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#544E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #652eab;
/* rgb */ color: rgb(101, 46, 171);
/* oklch */ color: oklch(44.7% 0.187 298.5);
Tailwind
colors: {
  custom: {
    50: '#976cc5',
    500: '#652eab',
    950: '#000000',
  },
}
SCSS
$custom: #652eab;
$custom-light: #976cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#652eab",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 266.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44693,
    "c": 0.1868,
    "h": 298.5
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#652EAB
secondary
#9FC372
accent
#E1479D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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