#652A9B#652A9B

#652A9B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.174 H 303.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#652A9B
RGBrgb(101, 42, 155)
HSLhsl(271, 57%, 39%)
HSVhsv(271, 73%, 61%)
CMYKcmyk(34.8%, 72.9%, 0%, 39.2%)
CIE-LABlab(31.32, 47.62, -50.93)
CIE-LCHlch(31.32, 69.73, 313.08°)
OKLaboklab(42.92% 0.0964 -0.145)
OKLCHoklch(42.92% 0.174 303.6)
XYZxyz(12.1098, 6.7892, 31.6765)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A9B #609B2A
analogous
#2C2A9B #652A9B #9B2A98
triadic
#652A9B #9B652A #2A9B65
tetradic
#652A9B #9B2C2A #609B2A #2A989B
square
#652A9B #9B2C2A #609B2A #2A989B
split-complementary
#652A9B #989B2A #2A9B2C
monochromatic
#26103B #461D6B #652A9B #8439C9 #A269D6

Accessibility & contrast

On white

8.91
#652A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#652A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A9B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A9B#FFFFFF#000000##FFFFFF
##652A9B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#5A4560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652a9b;
/* rgb */ color: rgb(101, 42, 155);
/* oklch */ color: oklch(42.9% 0.174 303.6);
Tailwind
colors: {
  custom: {
    50: '#9669b9',
    500: '#652a9b',
    950: '#000000',
  },
}
SCSS
$custom: #652a9b;
$custom-light: #9669b9;
$custom-dark: #000000;
JSON
{
  "hex": "#652a9b",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 271.327,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.17409,
    "h": 303.6
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#652A9B
secondary
#8EBD64
accent
#E14791
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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