#652AAA#652AAA

#652AAA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.190 H 299.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#652AAA
RGBrgb(101, 42, 170)
HSLhsl(268, 60%, 42%)
HSVhsv(268, 75%, 67%)
CMYKcmyk(40.6%, 75.3%, 0%, 33.3%)
CIE-LABlab(32.53, 51.34, -58.02)
CIE-LCHlch(32.53, 77.48, 311.50°)
OKLaboklab(44.15% 0.0932 -0.1658)
OKLCHoklch(44.15% 0.19 299.3)
XYZxyz(13.4487, 7.3247, 38.7277)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652AAA #6FAA2A
analogous
#2A2FAA #652AAA #A52AAA
triadic
#652AAA #AA652A #2AAA65
tetradic
#652AAA #AA2A2F #6FAA2A #2AAAA5
square
#652AAA #AA2A2F #6FAA2A #2AAAA5
split-complementary
#652AAA #AAA52A #2FAA2A
monochromatic
#2B1248 #481E79 #652AAA #8341D0 #A372DC

Accessibility & contrast

On white

8.52
#652AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#652AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652AAA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652AAA#FFFFFF#000000##FFFFFF
##652AAA1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#554B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #652aaa;
/* rgb */ color: rgb(101, 42, 170);
/* oklch */ color: oklch(44.2% 0.190 299.3);
Tailwind
colors: {
  custom: {
    50: '#976ac4',
    500: '#652aaa',
    950: '#000000',
  },
}
SCSS
$custom: #652aaa;
$custom-light: #976ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#652aaa",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 267.656,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.19021,
    "h": 299.3
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#652AAA
secondary
#9BC36C
accent
#E4449A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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