#652E9A#652E9A

#652E9A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.168 H 303.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#652E9A
RGBrgb(101, 46, 154)
HSLhsl(271, 54%, 39%)
HSVhsv(271, 70%, 60%)
CMYKcmyk(34.4%, 70.1%, 0%, 39.6%)
CIE-LABlab(31.93, 45.46, -49.34)
CIE-LCHlch(31.93, 67.09, 312.65°)
OKLaboklab(43.32% 0.0923 -0.1403)
OKLCHoklch(43.32% 0.168 303.3)
XYZxyz(12.1752, 7.0538, 31.2857)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E9A #639A2E
analogous
#2F2E9A #652E9A #9A2E99
triadic
#652E9A #9A652E #2E9A65
tetradic
#652E9A #9A2F2E #639A2E #2E999A
square
#652E9A #9A2F2E #639A2E #2E999A
split-complementary
#652E9A #999A2E #2E9A2F
monochromatic
#27123C #46206B #652E9A #843FC6 #A26FD4

Accessibility & contrast

On white

8.71
#652E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#652E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E9A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E9A#FFFFFF#000000##FFFFFF
##652E9A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#5B4760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652e9a;
/* rgb */ color: rgb(101, 46, 154);
/* oklch */ color: oklch(43.3% 0.168 303.3);
Tailwind
colors: {
  custom: {
    50: '#956bb8',
    500: '#652e9a',
    950: '#000000',
  },
}
SCSS
$custom: #652e9a;
$custom-light: #956bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#652e9a",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 270.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.16795,
    "h": 303.3
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#652E9A
secondary
#91BB69
accent
#DD4A93
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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