#652BA7#652BA7

#652BA7 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.186 H 300.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#652BA7
RGBrgb(101, 43, 167)
HSLhsl(268, 59%, 41%)
HSVhsv(268, 74%, 65%)
CMYKcmyk(39.5%, 74.3%, 0%, 34.5%)
CIE-LABlab(32.45, 50.14, -56.37)
CIE-LCHlch(32.45, 75.44, 311.65°)
OKLaboklab(44.01% 0.093 -0.161)
OKLCHoklch(44.01% 0.186 300)
XYZxyz(13.2040, 7.2843, 37.2621)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BA7 #6DA72B
analogous
#2B2FA7 #652BA7 #A32BA7
triadic
#652BA7 #A7652B #2BA765
tetradic
#652BA7 #A72B2F #6DA72B #2BA7A3
square
#652BA7 #A72B2F #6DA72B #2BA7A3
split-complementary
#652BA7 #A7A32B #2FA72B
monochromatic
#2A1246 #481E76 #652BA7 #8341CE #A372DB

Accessibility & contrast

On white

8.55
#652BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#652BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BA7
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BA7#FFFFFF#000000##FFFFFF
##652BA71.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#564A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652ba7;
/* rgb */ color: rgb(101, 43, 167);
/* oklch */ color: oklch(44.0% 0.186 300.0);
Tailwind
colors: {
  custom: {
    50: '#976ac2',
    500: '#652ba7',
    950: '#000000',
  },
}
SCSS
$custom: #652ba7;
$custom-light: #976ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#652ba7",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 268.065,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.18588,
    "h": 300
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#652BA7
secondary
#9AC26C
accent
#E24699
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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