#652EA6#652EA6

#652EA6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.181 H 299.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#652EA6
RGBrgb(101, 46, 166)
HSLhsl(268, 57%, 42%)
HSVhsv(268, 72%, 65%)
CMYKcmyk(39.2%, 72.3%, 0%, 34.9%)
CIE-LABlab(32.86, 48.48, -55.09)
CIE-LCHlch(32.86, 73.38, 311.35°)
OKLaboklab(44.28% 0.0903 -0.1572)
OKLCHoklch(44.28% 0.181 299.9)
XYZxyz(13.2250, 7.4737, 36.8148)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EA6 #6FA62E
analogous
#2E33A6 #652EA6 #A12EA6
triadic
#652EA6 #A6652E #2EA665
tetradic
#652EA6 #A62E33 #6FA62E #2EA6A1
square
#652EA6 #A62E33 #6FA62E #2EA6A1
split-complementary
#652EA6 #A6A12E #33A62E
monochromatic
#2B1346 #482176 #652EA6 #8346CC #A376D9

Accessibility & contrast

On white

8.42
#652EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#652EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EA6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EA6#FFFFFF#000000##FFFFFF
##652EA61.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652ea6;
/* rgb */ color: rgb(101, 46, 166);
/* oklch */ color: oklch(44.3% 0.181 299.9);
Tailwind
colors: {
  custom: {
    50: '#976cc1',
    500: '#652ea6',
    950: '#000000',
  },
}
SCSS
$custom: #652ea6;
$custom-light: #976cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#652ea6",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 267.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.18128,
    "h": 299.9
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#652EA6
secondary
#9BC16F
accent
#E0489A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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