#652A96#652A96

#652A96 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.169 H 305.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#652A96
RGBrgb(101, 42, 150)
HSLhsl(273, 56%, 38%)
HSVhsv(273, 72%, 59%)
CMYKcmyk(32.7%, 72%, 0%, 41.2%)
CIE-LABlab(30.94, 46.40, -48.50)
CIE-LCHlch(30.94, 67.13, 313.73°)
OKLaboklab(42.52% 0.0973 -0.1378)
OKLCHoklch(42.52% 0.169 305.2)
XYZxyz(11.6986, 6.6247, 29.5106)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A96 #5B962A
analogous
#2F2A96 #652A96 #962A91
triadic
#652A96 #96652A #2A9665
tetradic
#652A96 #962F2A #5B962A #2A9196
square
#652A96 #962F2A #5B962A #2A9196
split-complementary
#652A96 #91962A #2A962F
monochromatic
#250F36 #451D66 #652A96 #8537C6 #A266D4

Accessibility & contrast

On white

9.03
#652A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#652A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A96
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A96#FFFFFF#000000##FFFFFF
##652A961.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652a96;
/* rgb */ color: rgb(101, 42, 150);
/* oklch */ color: oklch(42.5% 0.169 305.2);
Tailwind
colors: {
  custom: {
    50: '#9569b6',
    500: '#652a96',
    950: '#000000',
  },
}
SCSS
$custom: #652a96;
$custom-light: #9569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652a96",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 272.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.16869,
    "h": 305.2
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#652A96
secondary
#8ABA61
accent
#E0488D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652A96

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

Preview Lab → · Contrast checker → · Palette generator →

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