#652C86#652C86

#652C86 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.149 H 310.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#652C86
RGBrgb(101, 44, 134)
HSLhsl(278, 51%, 35%)
HSVhsv(278, 67%, 53%)
CMYKcmyk(24.6%, 67.2%, 0%, 47.5%)
CIE-LABlab(30.13, 41.60, -39.93)
CIE-LCHlch(30.13, 57.66, 316.17°)
OKLaboklab(41.58% 0.0968 -0.1127)
OKLCHoklch(41.58% 0.149 310.7)
XYZxyz(10.5698, 6.2895, 23.2068)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C86 #4D862C
analogous
#382C86 #652C86 #862C7A
triadic
#652C86 #86652C #2C8665
tetradic
#652C86 #86382C #4D862C #2C7A86
square
#652C86 #86382C #4D862C #2C7A86
split-complementary
#652C86 #7A862C #2C8638
monochromatic
#200E2A #421D58 #652C86 #883BB4 #A461CB

Accessibility & contrast

On white

9.30
#652C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#652C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C86
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C86#FFFFFF#000000##FFFFFF
##652C861.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#613E55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652c86;
/* rgb */ color: rgb(101, 44, 134);
/* oklch */ color: oklch(41.6% 0.149 310.7);
Tailwind
colors: {
  custom: {
    50: '#9469aa',
    500: '#652c86',
    950: '#000000',
  },
}
SCSS
$custom: #652c86;
$custom-light: #9469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652c86",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 278,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.14853,
    "h": 310.7
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#652C86
secondary
#7CB15C
accent
#DA4E81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652C86

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

Preview Lab → · Contrast checker → · Palette generator →

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