#652A9E#652A9E

#652A9E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.177 H 302.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#652A9E
RGBrgb(101, 42, 158)
HSLhsl(271, 58%, 39%)
HSVhsv(271, 73%, 62%)
CMYKcmyk(36.1%, 73.4%, 0%, 38%)
CIE-LABlab(31.56, 48.36, -52.37)
CIE-LCHlch(31.56, 71.28, 312.72°)
OKLaboklab(43.16% 0.0958 -0.1492)
OKLCHoklch(43.16% 0.177 302.7)
XYZxyz(12.3649, 6.8912, 33.0198)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A9E #639E2A
analogous
#2B2A9E #652A9E #9E2A9D
triadic
#652A9E #9E652A #2A9E65
tetradic
#652A9E #9E2B2A #639E2A #2A9D9E
square
#652A9E #9E2B2A #639E2A #2A9D9E
split-complementary
#652A9E #9D9E2A #2A9E2B
monochromatic
#27103D #461D6E #652A9E #843ACB #A26BD8

Accessibility & contrast

On white

8.83
#652A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652A9E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A9E#FFFFFF#000000##FFFFFF
##652A9E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#594661
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652a9e;
/* rgb */ color: rgb(101, 42, 158);
/* oklch */ color: oklch(43.2% 0.177 302.7);
Tailwind
colors: {
  custom: {
    50: '#9669bb',
    500: '#652a9e',
    950: '#000000',
  },
}
SCSS
$custom: #652a9e;
$custom-light: #9669bb;
$custom-dark: #000000;
JSON
{
  "hex": "#652a9e",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 270.517,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.17732,
    "h": 302.7
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#652A9E
secondary
#91BE66
accent
#E14793
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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