#652A9A#652A9A

#652A9A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.173 H 303.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#652A9A
RGBrgb(101, 42, 154)
HSLhsl(272, 57%, 38%)
HSVhsv(272, 73%, 60%)
CMYKcmyk(34.4%, 72.7%, 0%, 39.6%)
CIE-LABlab(31.24, 47.38, -50.45)
CIE-LCHlch(31.24, 69.21, 313.20°)
OKLaboklab(42.84% 0.0966 -0.1436)
OKLCHoklch(42.84% 0.173 303.9)
XYZxyz(12.0262, 6.7558, 31.2360)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A9A #5F9A2A
analogous
#2D2A9A #652A9A #9A2A97
triadic
#652A9A #9A652A #2A9A65
tetradic
#652A9A #9A2D2A #5F9A2A #2A979A
square
#652A9A #9A2D2A #5F9A2A #2A979A
split-complementary
#652A9A #979A2A #2A9A2D
monochromatic
#26103A #451D6A #652A9A #8438C9 #A268D6

Accessibility & contrast

On white

8.93
#652A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#652A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A9A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A9A#FFFFFF#000000##FFFFFF
##652A9A1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#5B455F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652a9a;
/* rgb */ color: rgb(101, 42, 154);
/* oklch */ color: oklch(42.8% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#9669b9',
    500: '#652a9a',
    950: '#000000',
  },
}
SCSS
$custom: #652a9a;
$custom-light: #9669b9;
$custom-dark: #000000;
JSON
{
  "hex": "#652a9a",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 271.607,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.17301,
    "h": 303.9
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#652A9A
secondary
#8EBC63
accent
#E04790
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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