#652EAC#652EAC

#652EAC is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.188 H 298.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#652EAC
RGBrgb(101, 46, 172)
HSLhsl(266, 58%, 43%)
HSVhsv(266, 73%, 67%)
CMYKcmyk(41.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(33.35, 50.01, -57.90)
CIE-LCHlch(33.35, 76.51, 310.82°)
OKLaboklab(44.78% 0.089 -0.1655)
OKLCHoklch(44.78% 0.188 298.3)
XYZxyz(13.7883, 7.6990, 39.7813)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EAC #75AC2E
analogous
#2E36AC #652EAC #A42EAC
triadic
#652EAC #AC652E #2EAC65
tetradic
#652EAC #AC2E36 #75AC2E #2EACA4
square
#652EAC #AC2E36 #75AC2E #2EACA4
split-complementary
#652EAC #ACA42E #36AC2E
monochromatic
#2C144B #49217C #652EAC #8349CE #A479DB

Accessibility & contrast

On white

8.27
#652EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#652EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EAC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EAC#FFFFFF#000000##FFFFFF
##652EAC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652eac;
/* rgb */ color: rgb(101, 46, 172);
/* oklch */ color: oklch(44.8% 0.188 298.3);
Tailwind
colors: {
  custom: {
    50: '#976cc6',
    500: '#652eac',
    950: '#000000',
  },
}
SCSS
$custom: #652eac;
$custom-light: #976cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#652eac",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 266.19,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44777,
    "c": 0.1879,
    "h": 298.3
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#652EAC
secondary
#A0C372
accent
#E1479E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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