#652A99#652A99

#652A99 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.172 H 304.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#652A99
RGBrgb(101, 42, 153)
HSLhsl(272, 57%, 38%)
HSVhsv(272, 73%, 60%)
CMYKcmyk(34%, 72.5%, 0%, 40%)
CIE-LABlab(31.17, 47.13, -49.97)
CIE-LCHlch(31.17, 68.69, 313.33°)
OKLaboklab(42.76% 0.0967 -0.1421)
OKLCHoklch(42.76% 0.172 304.2)
XYZxyz(11.9432, 6.7226, 30.7992)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A99 #5E992A
analogous
#2D2A99 #652A99 #992A95
triadic
#652A99 #99652A #2A9965
tetradic
#652A99 #992D2A #5E992A #2A9599
square
#652A99 #992D2A #5E992A #2A9599
split-complementary
#652A99 #95992A #2A992D
monochromatic
#261039 #451D69 #652A99 #8538C8 #A268D6

Accessibility & contrast

On white

8.96
#652A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652A99
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A99#FFFFFF#000000##FFFFFF
##652A991.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#5B445F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652a99;
/* rgb */ color: rgb(101, 42, 153);
/* oklch */ color: oklch(42.8% 0.172 304.2);
Tailwind
colors: {
  custom: {
    50: '#9669b8',
    500: '#652a99',
    950: '#000000',
  },
}
SCSS
$custom: #652a99;
$custom-light: #9669b8;
$custom-dark: #000000;
JSON
{
  "hex": "#652a99",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 271.892,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.17193,
    "h": 304.2
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#652A99
secondary
#8DBC63
accent
#E0488F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652A99

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

Preview Lab → · Contrast checker → · Palette generator →

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