#652B96#652B96

#652B96 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.167 H 305.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#652B96
RGBrgb(101, 43, 150)
HSLhsl(273, 55%, 38%)
HSVhsv(273, 71%, 59%)
CMYKcmyk(32.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(31.11, 45.93, -48.23)
CIE-LCHlch(31.11, 66.60, 313.60°)
OKLaboklab(42.64% 0.0962 -0.137)
OKLCHoklch(42.64% 0.167 305.1)
XYZxyz(11.7345, 6.6965, 29.5226)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B96 #5C962B
analogous
#2F2B96 #652B96 #962B91
triadic
#652B96 #96652B #2B9665
tetradic
#652B96 #962F2B #5C962B #2B9196
square
#652B96 #962F2B #5C962B #2B9196
split-complementary
#652B96 #91962B #2B962F
monochromatic
#251037 #451D66 #652B96 #8539C6 #A268D4

Accessibility & contrast

On white

8.98
#652B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#652B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B96
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B96#FFFFFF#000000##FFFFFF
##652B961.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#5C445D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652b96;
/* rgb */ color: rgb(101, 43, 150);
/* oklch */ color: oklch(42.6% 0.167 305.1);
Tailwind
colors: {
  custom: {
    50: '#9569b6',
    500: '#652b96',
    950: '#000000',
  },
}
SCSS
$custom: #652b96;
$custom-light: #9569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652b96",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 272.523,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.16742,
    "h": 305.1
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#652B96
secondary
#8BBA63
accent
#DF498E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652B96

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

Preview Lab → · Contrast checker → · Palette generator →

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