#652F9D#652F9D

#652F9D is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.170 H 302.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#652F9D
RGBrgb(101, 47, 157)
HSLhsl(269, 54%, 40%)
HSVhsv(269, 70%, 62%)
CMYKcmyk(35.7%, 70.1%, 0%, 38.4%)
CIE-LABlab(32.33, 45.71, -50.51)
CIE-LCHlch(32.33, 68.12, 312.15°)
OKLaboklab(43.69% 0.0908 -0.1437)
OKLCHoklch(43.69% 0.17 302.3)
XYZxyz(12.4677, 7.2340, 32.6312)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F9D #679D2F
analogous
#2F309D #652F9D #9C2F9D
triadic
#652F9D #9D652F #2F9D65
tetradic
#652F9D #9D2F30 #679D2F #2F9D9C
square
#652F9D #9D2F30 #679D2F #2F9D9C
split-complementary
#652F9D #9D9C2F #309D2F
monochromatic
#28133F #47216E #652F9D #8343C7 #A272D5

Accessibility & contrast

On white

8.58
#652F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#652F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F9D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F9D#FFFFFF#000000##FFFFFF
##652F9D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#594962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652f9d;
/* rgb */ color: rgb(101, 47, 157);
/* oklch */ color: oklch(43.7% 0.170 302.3);
Tailwind
colors: {
  custom: {
    50: '#966cbb',
    500: '#652f9d',
    950: '#000000',
  },
}
SCSS
$custom: #652f9d;
$custom-light: #966cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#652f9d",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 269.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.17001,
    "h": 302.3
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #652F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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