#652396#652396

#652396 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.177 H 306.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#652396
RGBrgb(101, 35, 150)
HSLhsl(274, 62%, 36%)
HSVhsv(274, 77%, 59%)
CMYKcmyk(32.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(29.84, 49.51, -50.29)
CIE-LCHlch(29.84, 70.57, 314.56°)
OKLaboklab(41.75% 0.1043 -0.143)
OKLCHoklch(41.75% 0.177 306.1)
XYZxyz(11.4717, 6.1709, 29.4350)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652396 #549623
analogous
#2C2396 #652396 #96238E
triadic
#652396 #966523 #239665
tetradic
#652396 #962C23 #549623 #238E96
square
#652396 #962C23 #549623 #238E96
split-complementary
#652396 #8E9623 #23962C
monochromatic
#220C33 #441764 #652396 #862FC8 #A35BD9

Accessibility & contrast

On white

9.40
#652396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#652396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652396
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652396#FFFFFF#000000##FFFFFF
##6523961.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#5C3F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652396;
/* rgb */ color: rgb(101, 35, 150);
/* oklch */ color: oklch(41.7% 0.177 306.1);
Tailwind
colors: {
  custom: {
    50: '#9665b6',
    500: '#652396',
    950: '#000000',
  },
}
SCSS
$custom: #652396;
$custom-light: #9665b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652396",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 274.435,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.177,
    "h": 306.1
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#652396
secondary
#83BD58
accent
#E54388
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652396

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

Preview Lab → · Contrast checker → · Palette generator →

#652396 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva