#652196#652196

#652196 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.179 H 306.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#652196
RGBrgb(101, 33, 150)
HSLhsl(275, 64%, 36%)
HSVhsv(275, 78%, 59%)
CMYKcmyk(32.7%, 78%, 0%, 41.2%)
CIE-LABlab(29.55, 50.33, -50.75)
CIE-LCHlch(29.55, 71.47, 314.76°)
OKLaboklab(41.55% 0.1061 -0.1444)
OKLCHoklch(41.55% 0.179 306.3)
XYZxyz(11.4145, 6.0565, 29.4159)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652196 #529621
analogous
#2B2196 #652196 #96218C
triadic
#652196 #966521 #219665
tetradic
#652196 #962B21 #529621 #218C96
square
#652196 #962B21 #529621 #218C96
split-complementary
#652196 #8C9621 #21962B
monochromatic
#210B32 #431664 #652196 #872CC8 #A357DA

Accessibility & contrast

On white

9.50
#652196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#652196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652196
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652196#FFFFFF#000000##FFFFFF
##6521961.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652196;
/* rgb */ color: rgb(101, 33, 150);
/* oklch */ color: oklch(41.5% 0.179 306.3);
Tailwind
colors: {
  custom: {
    50: '#9664b6',
    500: '#652196',
    950: '#000000',
  },
}
SCSS
$custom: #652196;
$custom-light: #9664b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652196",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 274.872,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.17917,
    "h": 306.3
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#652196
secondary
#81BE55
accent
#E74186
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652196

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

Preview Lab → · Contrast checker → · Palette generator →

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