#652E96#652E96

#652E96 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.163 H 304.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#652E96
RGBrgb(101, 46, 150)
HSLhsl(272, 53%, 38%)
HSVhsv(272, 69%, 59%)
CMYKcmyk(32.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(31.63, 44.46, -47.38)
CIE-LCHlch(31.63, 64.98, 313.18°)
OKLaboklab(43.02% 0.0929 -0.1346)
OKLCHoklch(43.02% 0.163 304.6)
XYZxyz(11.8476, 6.9228, 29.5603)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E96 #5F962E
analogous
#312E96 #652E96 #962E93
triadic
#652E96 #96652E #2E9665
tetradic
#652E96 #96312E #5F962E #2E9396
square
#652E96 #96312E #5F962E #2E9396
split-complementary
#652E96 #93962E #2E9631
monochromatic
#261138 #452067 #652E96 #843EC4 #A26CD2

Accessibility & contrast

On white

8.81
#652E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#652E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E96
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E96#FFFFFF#000000##FFFFFF
##652E961.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#064A94
Tritanopia (blue-blind)
#5C455E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652e96;
/* rgb */ color: rgb(101, 46, 150);
/* oklch */ color: oklch(43.0% 0.163 304.6);
Tailwind
colors: {
  custom: {
    50: '#956bb6',
    500: '#652e96',
    950: '#000000',
  },
}
SCSS
$custom: #652e96;
$custom-light: #956bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#652e96",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 271.731,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43016,
    "c": 0.16349,
    "h": 304.6
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#652E96
secondary
#8EB967
accent
#DC4B90
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652E96

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

Preview Lab → · Contrast checker → · Palette generator →

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