#652096#652096

#652096 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.180 H 306.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#652096
RGBrgb(101, 32, 150)
HSLhsl(275, 65%, 36%)
HSVhsv(275, 79%, 59%)
CMYKcmyk(32.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(29.42, 50.72, -50.97)
CIE-LCHlch(29.42, 71.91, 314.86°)
OKLaboklab(41.45% 0.107 -0.145)
OKLCHoklch(41.45% 0.18 306.4)
XYZxyz(11.3872, 6.0019, 29.4068)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652096 #519620
analogous
#2A2096 #652096 #96208C
triadic
#652096 #966520 #209665
tetradic
#652096 #962A20 #519620 #208C96
square
#652096 #962A20 #519620 #208C96
split-complementary
#652096 #8C9620 #20962A
monochromatic
#210A31 #431564 #652096 #872BC8 #A356DB

Accessibility & contrast

On white

9.54
#652096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#652096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652096
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652096#FFFFFF#000000##FFFFFF
##6520961.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#5C3E5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652096;
/* rgb */ color: rgb(101, 32, 150);
/* oklch */ color: oklch(41.4% 0.180 306.4);
Tailwind
colors: {
  custom: {
    50: '#9664b6',
    500: '#652096',
    950: '#000000',
  },
}
SCSS
$custom: #652096;
$custom-light: #9664b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652096",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 275.085,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.18022,
    "h": 306.4
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#652096
secondary
#80BE53
accent
#E84086
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652096

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

Preview Lab → · Contrast checker → · Palette generator →

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