#652F9C#652F9C

#652F9C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.169 H 302.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#652F9C
RGBrgb(101, 47, 156)
HSLhsl(270, 54%, 40%)
HSVhsv(270, 70%, 61%)
CMYKcmyk(35.3%, 69.9%, 0%, 38.8%)
CIE-LABlab(32.26, 45.46, -50.02)
CIE-LCHlch(32.26, 67.60, 312.27°)
OKLaboklab(43.61% 0.0909 -0.1423)
OKLCHoklch(43.61% 0.169 302.6)
XYZxyz(12.3827, 7.2000, 32.1834)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F9C #669C2F
analogous
#2F2F9C #652F9C #9C2F9C
triadic
#652F9C #9C652F #2F9C65
tetradic
#652F9C #9C2F2F #669C2F #2F9C9C
square
#652F9C #9C2F2F #669C2F #2F9C9C
split-complementary
#652F9C #9C9C2F #2F9C2F
monochromatic
#28133E #47216D #652F9C #8342C6 #A271D4

Accessibility & contrast

On white

8.61
#652F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#652F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F9C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F9C#FFFFFF#000000##FFFFFF
##652F9C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#5A4862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652f9c;
/* rgb */ color: rgb(101, 47, 156);
/* oklch */ color: oklch(43.6% 0.169 302.6);
Tailwind
colors: {
  custom: {
    50: '#966cba',
    500: '#652f9c',
    950: '#000000',
  },
}
SCSS
$custom: #652f9c;
$custom-light: #966cba;
$custom-dark: #000000;
JSON
{
  "hex": "#652f9c",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 269.725,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.1689,
    "h": 302.6
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#652F9C
secondary
#94BC6B
accent
#DD4B95
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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