#652F9A#652F9A

#652F9A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.167 H 303.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#652F9A
RGBrgb(101, 47, 154)
HSLhsl(270, 53%, 39%)
HSVhsv(270, 69%, 60%)
CMYKcmyk(34.4%, 69.5%, 0%, 39.6%)
CIE-LABlab(32.11, 44.96, -49.05)
CIE-LCHlch(32.11, 66.54, 312.51°)
OKLaboklab(43.45% 0.0912 -0.1395)
OKLCHoklch(43.45% 0.167 303.2)
XYZxyz(12.2147, 7.1328, 31.2989)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F9A #649A2F
analogous
#2F2F9A #652F9A #9A2F9A
triadic
#652F9A #9A652F #2F9A65
tetradic
#652F9A #9A2F2F #649A2F #2F9A9A
square
#652F9A #9A2F2F #649A2F #2F9A9A
split-complementary
#652F9A #9A9A2F #2F9A2F
monochromatic
#27123C #46216B #652F9A #8441C5 #A270D3

Accessibility & contrast

On white

8.65
#652F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#652F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F9A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F9A#FFFFFF#000000##FFFFFF
##652F9A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#5B4861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652f9a;
/* rgb */ color: rgb(101, 47, 154);
/* oklch */ color: oklch(43.5% 0.167 303.2);
Tailwind
colors: {
  custom: {
    50: '#956cb8',
    500: '#652f9a',
    950: '#000000',
  },
}
SCSS
$custom: #652f9a;
$custom-light: #956cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#652f9a",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 270.28,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.16665,
    "h": 303.2
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#652F9A
secondary
#92BB6A
accent
#DD4B93
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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