#652E8E#652E8E

#652E8E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.155 H 307.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#652E8E
RGBrgb(101, 46, 142)
HSLhsl(274, 51%, 37%)
HSVhsv(274, 68%, 56%)
CMYKcmyk(28.9%, 67.6%, 0%, 44.3%)
CIE-LABlab(31.05, 42.50, -43.40)
CIE-LCHlch(31.05, 60.75, 314.40°)
OKLaboklab(42.42% 0.0938 -0.1229)
OKLCHoklch(42.42% 0.155 307.3)
XYZxyz(11.2253, 6.6738, 26.2828)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E8E #578E2E
analogous
#352E8E #652E8E #8E2E87
triadic
#652E8E #8E652E #2E8E65
tetradic
#652E8E #8E352E #578E2E #2E878E
square
#652E8E #8E352E #578E2E #2E878E
split-complementary
#652E8E #878E2E #2E8E35
monochromatic
#231032 #441F60 #652E8E #863DBC #A368CE

Accessibility & contrast

On white

8.99
#652E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#652E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E8E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E8E#FFFFFF#000000##FFFFFF
##652E8E1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#5E425A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652e8e;
/* rgb */ color: rgb(101, 46, 142);
/* oklch */ color: oklch(42.4% 0.155 307.3);
Tailwind
colors: {
  custom: {
    50: '#946bb0',
    500: '#652e8e',
    950: '#000000',
  },
}
SCSS
$custom: #652e8e;
$custom-light: #946bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#652e8e",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 274.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.15455,
    "h": 307.3
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#652E8E
secondary
#86B563
accent
#DB4D8A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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