#652FA0#652FA0

#652FA0 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.173 H 301.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#652FA0
RGBrgb(101, 47, 160)
HSLhsl(269, 55%, 41%)
HSVhsv(269, 71%, 63%)
CMYKcmyk(36.9%, 70.6%, 0%, 37.3%)
CIE-LABlab(32.56, 46.47, -51.95)
CIE-LCHlch(32.56, 69.70, 311.81°)
OKLaboklab(43.92% 0.0903 -0.148)
OKLCHoklch(43.92% 0.173 301.4)
XYZxyz(12.7270, 7.3377, 33.9967)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FA0 #6AA02F
analogous
#2F31A0 #652FA0 #9D2FA0
triadic
#652FA0 #A0652F #2FA065
tetradic
#652FA0 #A02F31 #6AA02F #2FA09D
square
#652FA0 #A02F31 #6AA02F #2FA09D
split-complementary
#652FA0 #A09D2F #31A02F
monochromatic
#291341 #472171 #652FA0 #8344C8 #A373D6

Accessibility & contrast

On white

8.51
#652FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#652FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FA0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FA0#FFFFFF#000000##FFFFFF
##652FA01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#584A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #652fa0;
/* rgb */ color: rgb(101, 47, 160);
/* oklch */ color: oklch(43.9% 0.173 301.4);
Tailwind
colors: {
  custom: {
    50: '#966cbd',
    500: '#652fa0',
    950: '#000000',
  },
}
SCSS
$custom: #652fa0;
$custom-light: #966cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#652fa0",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 268.673,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.17337,
    "h": 301.4
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#652FA0
secondary
#97BE6D
accent
#DE4A97
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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