#652FA6#652FA6

#652FA6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.180 H 299.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#652FA6
RGBrgb(101, 47, 166)
HSLhsl(267, 56%, 42%)
HSVhsv(267, 72%, 65%)
CMYKcmyk(39.2%, 71.7%, 0%, 34.9%)
CIE-LABlab(33.03, 48.00, -54.81)
CIE-LCHlch(33.03, 72.86, 311.21°)
OKLaboklab(44.4% 0.0893 -0.1564)
OKLCHoklch(44.4% 0.18 299.7)
XYZxyz(13.2646, 7.5528, 36.8280)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FA6 #70A62F
analogous
#2F34A6 #652FA6 #A12FA6
triadic
#652FA6 #A6652F #2FA665
tetradic
#652FA6 #A62F34 #70A62F #2FA6A1
square
#652FA6 #A62F34 #70A62F #2FA6A1
split-complementary
#652FA6 #A6A12F #34A62F
monochromatic
#2B1447 #482176 #652FA6 #8347CB #A377D8

Accessibility & contrast

On white

8.36
#652FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#652FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FA6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FA6#FFFFFF#000000##FFFFFF
##652FA61.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#564C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #652fa6;
/* rgb */ color: rgb(101, 47, 166);
/* oklch */ color: oklch(44.4% 0.180 299.7);
Tailwind
colors: {
  custom: {
    50: '#976cc1',
    500: '#652fa6',
    950: '#000000',
  },
}
SCSS
$custom: #652fa6;
$custom-light: #976cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#652fa6",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 267.227,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.18007,
    "h": 299.7
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#652FA6
secondary
#9CC170
accent
#DF499B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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